erich
Active member
Hi Brogan,
I've made a custom Template called "gp_container" and have called it into the header template just below the </header> tag. I did this because I want this HTML to be right below the header and for the DIV not to be contained by the content area container. Since I placed it in the header template, I need a conditional that will say "IF a user is on this page show this html else show nothing"
Hope this better explains what I'm trying to accomplish.
Edit:
So I looked over this page:
https://xenforo.com/community/resources/using-variables-in-templates.5034/update?update=18416
And since using the code:
{xen:helper dump, $page.node_id}
Is returning a value of NULL, I guess I can't add the variable to the header template?
I've made a custom Template called "gp_container" and have called it into the header template just below the </header> tag. I did this because I want this HTML to be right below the header and for the DIV not to be contained by the content area container. Since I placed it in the header template, I need a conditional that will say "IF a user is on this page show this html else show nothing"
Hope this better explains what I'm trying to accomplish.
Edit:
So I looked over this page:
https://xenforo.com/community/resources/using-variables-in-templates.5034/update?update=18416
And since using the code:
{xen:helper dump, $page.node_id}
Is returning a value of NULL, I guess I can't add the variable to the header template?
Last edited: