November 29, 2013 in Feedback
Hi, I'm not sure if this was touched upon in previous blog entries.
What I would wish was for it to be possible to be able to define several hook points for a single hook file. So a single hook php file could be run for several places.
This would be very useful for hooks that only utilize global variables. (Or take into account that it's visible several places)
For example right now I'm creating something that will add a "promo box" at the top of the board index. But in the topic view and forum view for instance, it will be at the bottom. The contents of the promo box would be the same on either page.
As it is currently I would have to create several hook php files with the same content and be sure to remember to update each one of them.
This topic is now archived and is closed to further replies.
Started January 19
Started February 15
Started Yesterday at 10:27 AM