PDA

View Full Version : Layout Design


nehkid
05-01-2004, 08:16 PM
How do you make the same layout on every page? I mean like, I goto IGN and it's always the same at the top and the menu on the left and advertising on the right. How would I do that for every page of mine without hardcoding it into every page? Is this possible? BTW I'm going to try and make my page with PHP and mySQL if that makes a difference. TIA

Vile
05-01-2004, 09:45 PM
Using Dreamweaver (or whichever app you want) make the design you want to use, create an editable region in the center (where your text will be for every page) and then save it as a template.
Now when creating a new page, select "new" "from template" and use the template you saved.
The good thing about this is that if you want to change a link or change the text to an important item, you can do it to just the template, and it will update ALL pages that are being used by that template, otherwise you would have to manually hard code it.

nehkid
05-02-2004, 12:07 AM
Yes that's exactly what I'm looking for. I didn't know Dreamweaver had something like that. I'll have to go check it out. Thanks Vile.

nehkid
05-03-2004, 10:57 PM
I should've asked this all in one post but I forgot and I don't want to make a thread for every question so I'll ask here.

Anyone with php knowledge, please help. I can't gasp the idea of how to transfer information from one page to another page. I have a book it says use the $_POST or $_GET arrays. But I don't really see how to use them. For the $_GET do you put all the information of the array into a link? Meaning something along the lines of topic_id=5&user_id=4 and go $_GET[topic_id] to get 5?

Lafa
05-08-2004, 02:21 AM
like you want to grab the author in phpBB you use the $GET_['AUTHOR'] variable...
this might help : http://no2.php.net/manual/en/index.php
in depth guid ther or you could just search for it on php.net