Christopher Smith wrote:
Still on the not needing to change the core, perhaps a new event could be created to wrap the current redirect, along the lines ofname: ACT_REDIRECT_ONSAVE data: array/object containing three values, page id, fragment-id, more preventable: yes action: redirect to url created by combining the three data values result: return value for act_save if no redirect takes place notes: after advise will not occur unless action (redirect) is prevented.
That sounds good, but as I noticed yesterday there is a similar situation after act_draftdel(), at the moment there is no redirect at all after act_draftdel(), but I would like to add a redirect there, too. So perhaps one would need an event there, too? Or one might use the same event with other data because also in the core the action to be executed is the same.
Michael Hamann -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist