cap97
05-04-2005, 06:58 PM
Trying to get a custom page to work. So here's what I did:
1) Created a php file called "test.php" in the modules directory with the following code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder"
width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] <!-- Module Title Here --
></strong></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">
<!-- Content for your module goes here -->
Hey how come this doesn't work?
</td>
</tr>
</table>
<br />
2) Added a new module in admin called "Test" using said file "test.php".
3) Created a new page in admin called "Test" and set it to display left and right modules, as well as the new "Test" module.
This is the result: http://livinglegend.org/startrek/?page=test
As you can see, the new page is being displayed above everything else. And the variables aren't showing up either (although since test.php isn't wrapped in php tags, I don't see why they would, but I got the code from the instructions). Any thoughts?
1) Created a php file called "test.php" in the modules directory with the following code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder"
width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] <!-- Module Title Here --
></strong></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">
<!-- Content for your module goes here -->
Hey how come this doesn't work?
</td>
</tr>
</table>
<br />
2) Added a new module in admin called "Test" using said file "test.php".
3) Created a new page in admin called "Test" and set it to display left and right modules, as well as the new "Test" module.
This is the result: http://livinglegend.org/startrek/?page=test
As you can see, the new page is being displayed above everything else. And the variables aren't showing up either (although since test.php isn't wrapped in php tags, I don't see why they would, but I got the code from the instructions). Any thoughts?