MyBB Community Forums

Full Version: Call an template file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have the navigation text at the top of my theme. It looks really weird on the index, and I want to remove it. I know it is <navigation> in the header. I want to have an alternate header for just the index, exactly the same as the regular header but without that simple piece of code.

I want to know how you could "call" a file like how {$header} is.

Thanks.
eval("\$header = \"".$templates->get("header")."\";");