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

access a container/view param for extraTabs?

Jake Bunce

XenForo moderator
Staff member
#1
XenForo 1.1

I am using the navigation_tabs code event to build an extraTab. My tab has a linksTemplate specified.

The problem is that my linksTemplate does not have access to the $forum param that exists in both the container and the view on the forum_view page. I need that param so I can create a "Mark Forums Read" link inside of linksTemplate.
 

Jake Bunce

XenForo moderator
Staff member
#2
I think I found a solution. I can followup navigation_tabs with container_public_params. That event gives me access to my previously defined extraTabs as well as the other container params.