Jarvis
Member
Hi there,
I've been reading up on template modifications, and trying to use them instead of template hooks from here on in.
However, I'm particularly trying to add custom content to the navigation_visitor_tab template. This content requires unique variables. I know how to create a template modification in the back end control panel, however I do not know how I can include custom variables in the viewParams of the loaded template when it's not my Addons ControllerPublic.
I've heard about extending the XenForo Controller, however I don't know where to begin with finding the correct controller or extending it in the correct manner.
Any help?
Cheers.
I've been reading up on template modifications, and trying to use them instead of template hooks from here on in.
However, I'm particularly trying to add custom content to the navigation_visitor_tab template. This content requires unique variables. I know how to create a template modification in the back end control panel, however I do not know how I can include custom variables in the viewParams of the loaded template when it's not my Addons ControllerPublic.
I've heard about extending the XenForo Controller, however I don't know where to begin with finding the correct controller or extending it in the correct manner.
Any help?
Cheers.