Issue Details (XML | Word | Printable)

Key: MODX-312
Type: Sub-task Sub-task
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Paul Bohman
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
MODx CMF
MODX-343

OnBeforeDocMove, OnDocMove

Created: 04/Sep/08 10:35 AM   Updated: 04/Aug/09 12:14 AM
Component/s: Core Distribution
Affects Version/s: 0.9.6.1
Fix Version/s: Evolution-1.1.0

Time Tracking:
Not Specified

File Attachments: 1. File move_document.processor.php (4 kB)

Environment: all


 Description  « Hide
The OnBeforeDocMove and OnDocMove system events need to be added to manager/processors/move_document.processor.php

Matching entries must be added to the system_eventnames table:

INSERT INTO `modx_system_eventnames` (`id`, `name`, `service`, `groupname`)
VALUES
(1052, 'OnBeforeDocMove', 5, ''),
(1053, 'OnDocMove', 5, '')

(The id numbers are arbitrary in the example above.)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Paul Bohman added a comment - 04/Sep/08 10:36 AM
The attached file adds the events OnBeforeDocMove and OnDocMove

Paul Bohman added a comment - 04/Sep/08 10:45 AM
See related issues MODX-189, MODX-308, MODX-313