• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Which listener for XenForo_NodeHandler class ?

cclaerhout

Well-known member
#1
Sorry if the question sounds stupid, but I would like to listen "class XenForo_NodeHandler_Forum", which listener should I use ? Load_class_controller is to listen controller class, but for NodeHander... ?
 

cclaerhout

Well-known member
#3
Thanks for your answer !
I'm not sure the XenForo_Model_Forum will suite my needs. I wanted to override the "public function renderNodeForTree" and play with the variable $templateLevel. But I'm going to have have a look at XenForo_Model_Forum :)
 

xfrocks

Well-known member
#4
If it's the case, you can use template_create to change the level (but I'm not recommend that). Also, you can use template_post_render to change the rendered html. They are more than enough for most kind of customization ;) Good luck.