Nav events not firing? #4355
-
I've had to employ some quite extensive caching on my site to keep the page speed to an acceptable level. I've then used event listeners to clear the certain cache tags to so that newly edited content is shown. In my event service provider I have the following in the boot function
The |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There's a When you're moving items around in the tree, that'll fire the |
Beta Was this translation helpful? Give feedback.
There's a
NavSaved
event for when the Nav itself is saved. That's the file that holds the configuration. The page in the CP where you edit the title, if you save that, you'll see that event.When you're moving items around in the tree, that'll fire the
NavTreeSaved
event. Use that!