View Full Version : custom template output as a single .php file
SpArKs
02-22-2007, 05:23 PM
How do I get a custom template to be outputted and formatted correctly, as a single .php file from the main directory?
Reason why I ask is I have a java script tab feature, and each tab requests a single file. I need a custom template to be one of those files.
Any ideas or suggestions?
Brian
02-22-2007, 06:18 PM
You've lost me here... Templates really have nothing to do with PHP files nor can they be formatted as one.
SpArKs
02-23-2007, 12:38 PM
In templates there are vbphrases and coding such as if tags for permissions and alike.
I can 'echo' the template content, but it just shows raw code.
Each tab requests a single file, that then requests a template.
Example:
<li class="selected"><a href="#default" rel="area">Intromain</a></li>
<li><a href="templateA.php" rel="area">PC</a></li>
<li><a href="templateB.php" rel="area">Console</a></li>
<li><a href="templateC.php" rel="area">Hardware</a></li>
<li><a href="templateD.php" rel="area">whatever</a></li>
Unless there is a tabs type mod already?
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.