![]() |
Need Static Template help....... bad
First, I'm a code dummy.......
I've been attempting to follow this seemingly simple -TEMPLATE- in order to create vB template driven pages. I think I'm struggling with calling the right variables. I created a rules.php file in my root dir (my forum sit in root/forums). Here is where I'm at: Code:
<?php Quote:
fetch_template('forums/static/forum_rules') <-- This line calls the php doc i created that I want displayed in the template. |
If your script is already in your forumhome directory, then there is no need for a chdir.
Also on line 8, the + shouldn't be there: PHP Code:
|
Lol, reading your post a bit more, you got + signs everywhere. Looks like you replaced avery space with a plus.
|
LOL, No that must have been a copy/paste error or something.
The exact code (copied from the server) Code:
<?php |
I just tried, but get no error.
|
Figured it out, Thanks Marco (I took the link out, as the error code is now gone).
I'll post results for anyone with a similar issue. It's easier than I thought, took a different approach though. First, I took the basic code from the this posted -TEMPLATE- Code:
<?php Then I went into vBulletin admin panel; Styles & Templates --> Style Manager --> Template Options (Add New Template) and then created a basic html table; Code:
<table width="675" border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="665714"> That gave me -THIS- , which is exactly what I was looking for. |
All times are GMT. The time now is 03:21 PM. |
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:
|