1. 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?

Discussion in 'XenForo Development Discussions' started by Jake Bunce, Nov 25, 2011.

  1. Jake Bunce

    Jake Bunce XenForo Moderator Staff 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.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    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.
    CyberAP likes this.

Share This Page