I need hep from someone more experienced with vanilla hooks
I am using DiscussionsController_AfterDiscussionTitle_Handler() in my plugin to add text but when I am on category listing, this is not fired any ideas?
It's not firing because that view file is being included from a different class. you've defined your hook as DiscussionsController_Afte... so it's only gonna get called if discussions.php is handling the request. Adding in something like
public function CategoriesController_AfterDiscussionTitle_Handler(&$Sender) { $this->DiscussionsController_AfterDiscussionTitle_Handler($Sender); }
Comments
http://vanillaforums.org/addon/540/discussionexcerpt2
I need hep from someone more experienced with vanilla hooks
I am using DiscussionsController_AfterDiscussionTitle_Handler() in my plugin to add text
but when I am on category listing, this is not fired
any ideas?
Fatal error: Call to undefined function T() in /WWW/publicradio/pijsand01/Garden/plugins/DiscussionExcerpt2/views/discussionexcerpt2.php on line 5
try updating vanilla and check then