Any reason why I can't call a custom template within a custom template...
My custom template can call an existing template though...
For example, I am trying to use vB templates throughout my site but I don't want the forum buttons (members) that are included in $header... so i created $customheader...
any reason why I can't refer to custom header... here's the code... pls keep in mind that i am a rookie...
Quote:
<?php
$templatesused='customheader';
require(getenv('DOCUMENT_ROOT').'/global.php');
eval("dooutput(\"".gettemplate('customtemplate')." \");");
?>
|