sanitize
Joined: 04 Aug 2004 Posts: 1
|
Posted: Wed Aug 04, 2004 4:44 pm Post subject: Template help --> querystrings |
|
|
I'm no novice to b2, so my template is basically fine. However...
I like to add my content pages using querystrings, using the following code:
Code: | <?php include ("header.inc");
if(!$_SERVER['QUERY_STRING']) { ?>
<-- regular page content -->
<? } elseif ($_SERVER['QUERY_STRING'] == "x=about") { ?>
<-- about page content -->
<? }
include ("footer.inc"); ?> |
..something along those lines. Anyway...
However, when I try to use this in my template in the index.php file, the content pages work (no problem there), but b2's own pages that use querystrings like the archive pages don't work anymore.
Anybody know how/where I should add in the querystring content pages so they don't screw up the existing querystring pages that b2 uses?
Many thanks in advance for any help.. |
|