Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New event trigger requested
#2
chrisbloom7 Wrote:I noticed that the 3.1 beta includes an event trigger named "changedata-aftersave" which is triggered after the "changedata-save" trigger and subsequent page save. Could you also add one named "page-afterdelete" to be fired after a page has been deleted? I hacked up my own copy of 3.0 to add this event as I needed to update some cached navigation files whenever pages were modified, but it had to happen after all of the changes were saved to disk.

You might try another approach: delete the cache and only recreate it when needed (when you want to display the navigation for the first time). This is how I18N and I18N Search work.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
New event trigger requested - by chrisbloom7 - 2011-11-16, 04:56:05
New event trigger requested - by mvlcek - 2011-11-16, 05:26:38
New event trigger requested - by chrisbloom7 - 2011-11-16, 05:30:38



Users browsing this thread: 1 Guest(s)