XenForo xf:if variables to identify routes and pages

T

TheLaw

Guest
I've got a couple of pages that aren't behaving correctly such as the home page and a route that serves as the home page for an addon that isn't displaying the selected indicator in the navigation. I'm hoping to make some modifications on those pages and usually used php but that's definitely not the best way to go about it. I see that there are several xf:if variables in the developer docs but don't see one for pages or page templates. I do see one for a page 'title' but that's not ideal...

Read more

Continue reading...