HTML Header/Template question?

  • Thread starter Thread starter skiiermandan
  • Start date Start date
S

skiiermandan

Guest
How do I add a created header/template (I don't know what to call it. It contains a banner on the top of the page and a menu on the left side of it) on pages in my site. I want my pages to have the banner and menu I created on the top and left hand side, while in the middle (adjacent to the menu) I have the content.

If any clarification is necessary, feel free to ask me to elaborate. Thanks!
 
Did you create the whole template, or did you just make the banner and menu graphics?

If you haven't written the code you will have to do that. I suggest you use php so you can put the header and menu as includes. Then they will show up on each page you put them on, and you can edit them without changing each page.

Write the page just as if it were a regular webpage, then cut it up into sections and save them as .php or .inc.php files. Make a framework to call them with <?php include('url'); ?>. Save it as template.php.

You copy the content from your original page into the content area of your new template, then save it as the old filename with a .php extension. Upload it, and if you are satisfied, you edit your original html page and put in a redirect if you have a lot of traffic hits on that page. Later you can delete the original page when your new page becomes the one showing up on the search engines.
 
Back
Top