access a container/view param for extraTabs?

Jake Bunce

Well-known member
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.
 
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.
 
Top Bottom