![]() |
template driven pages
Re: http://www.vbulletin.com/forum/showthread.php?t=101325
Create a PHP file with this code. Change the red code appropriately. This will display a page within your forum layout where the page contents are the contents of the template you specify. Code:
<?php |
thanks jake
for some reason the $navbar variable wont work - is there something i have to include in the php code to be able to include the navbar template |
Try adding this code before the last eval line:
PHP Code:
|
yeah that worked - thanks
|
Quote:
PHP Code:
|
Quote:
|
Please pardon my ignorance, but what I'm getting from this is that this creates the option to stick any current (or custom) template into an entirely new page with a vBulletin theme. This is all well and good (from my retarded little standpoint), but I'm not too keen on custom making a template w/o guidance. My webmaster and myself are testing this hack and the setup is simple enough but we're having problems adding content. :ermm: It's just that we don't quite understand vB3 yet. Any guidence?
|
Quote:
PHP Code:
|
<a href="http://www.interfans.org/forum/rules.php" target="_blank">http://www.interfans.org/forum/rules.php</a>
I get this error: Warning: chdir(): No such file or directory (errno 2) in /home/interfan/public_html/forum/rules.php on line 4 And what do I have to add in the new template? |
Quote:
PHP Code:
|
All times are GMT. The time now is 05:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|