janjanssen
11 years agoGuide
Contest Page get active tab
Hi,
In a contest page we want to load a custom component in the header, but only on an entries tab.
We can't use the page layout of entries tab, because the component needs to load above and outside the html of the tabs.
Is there a way to know which tab (home, winner, entries) is active? Could this be done via a REST API call or a context object?
Any thoughts?
Kr,
Jan Janssen