Quote:
Originally Posted by HotLinkHosting
No, one php script can handle several templates. Take a look at some of the php documents and search for $templatename. As you'll see this is where the vbulletin template used for that function is determined.
At the bottom of the pages you'll see:
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template($templatename) . '");');
This is the part of the document that prints the template set to $templatename earilier in the document.
|
What about Custom templates that I make? I should of been more specific on question.
*edit
I must of been blind not to see this.
Code:
if ($_REQUEST['do'] == 'xxx')
{
eval('print_output("' . fetch_template('TEMPLATE_XXX') . '");');
}