boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Template help --> querystrings

 
Post new topic   Reply to topic    boardom Forum Index -> Template help
View previous topic :: View next topic  
Author Message
sanitize



Joined: 04 Aug 2004
Posts: 1

PostPosted: Wed Aug 04, 2004 4:44 pm    Post subject: Template help --> querystrings Reply with quote

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..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Template help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group