a template from scratch!
hi everone!
first of all this is my very FIRST! template file.
So i Have No Freaking ideA! how to start and how to actually build a template file.
i use php alot so if there is a way to use php in the templates, and php includes, i should know
I'm making a website that will require a database (static websites that contain alot of info aren't very nice)
Now about the site:
I'm making a website for a game, i bet you knew that already. The game is an MMORPG (multiplayer online role playing game) made by one of the best and most respected/trusted company out there called blizzard entertainment.
my layout's blueprint or skeleton should be something like this
http://www.wow-news.net/
but not all of it, and for you people that tell me keep it original, i like the 2 column design and there isnt enough space for any other kind of layout.
i'm guessing this will be a LONG long, topicm maby im a multitask person, im learning photoshop (finishing it up) and php with mysql and making a template. its total chaos for me! :apengy:
btw i have to make it uisng 800x600 res then make it work with all the other resses
m3rajk posted this at 14:53 — 18th August 2003.
They have: 461 posts
Joined: Jul 2003
if you make it work with 800 by 600 it will automatically work with anything larger, just the alignment will be odd if you don't center it
mohd posted this at 18:30 — 18th August 2003.
They have: 101 posts
Joined: Apr 2003
k so by the time someone replyed here:
i could make tempate files, possibly mysql. I mean come on people!
how do template files work anyways? (i know this is kind of confusing) but i need to know. lol
The Webmistress posted this at 20:07 — 18th August 2003.
She has: 5,586 posts
Joined: Feb 2001
Right, both of you please be nice to each other! I have deleted your postings because there is no need to be nasty to each other, this isn't a playground.
mohd, have you done a search on google for template tutorials?
Julia - if life was meant to be easy Michael Angelo would have painted the floor....
Suzanne posted this at 21:31 — 18th August 2003.
She has: 5,507 posts
Joined: Feb 2000
Mohd, what do you want to know. I don't understand your posting. Do you want to know how to make HTML templates (that you would then break up for different languages, database work, get cetera), or PHP templates so that the information is plugged into one file depending on what you click on?
If it's PHP, this should be in the scripting forum.
andy206uk posted this at 16:03 — 19th August 2003.
He has: 1,758 posts
Joined: Jul 2002
Generally I create a flat HTML page and split it up into sections. I then put the different parts into different files (ie _menu.php, _header.php) and then use PHP includes to include them in the site.
If the only thing that changes in your site from page to page is the main content, then you can put everything above the content in a header include and everything below it in a footer. Then you just put the two includes in each file which makes updating the rest of the site easy peasy. Thats just me tho.
Andy
Suzanne posted this at 16:10 — 19th August 2003.
She has: 5,507 posts
Joined: Feb 2000
It's just that the word "template" can mean a number of things. A flat HTML file with %%%VARIABLES%%% that are inserted is a template, and I think what he is talking about.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.