|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Page Layout Template
Ok Guys -
I have a site with 20 different pages. This means that if I make change to the Navigation bar @ the top or bottom of the page, I must then update the other 19 pages manually. This is very time consuming, & tedious!! What I would like to do is set up a "Template" that each page on my site uses to keep the navigation bar, logo, links, address info, etc. @ the bottom & top of each page consistent across the board. I would like it to be setup so that if I add or delete a page for example, I do not have to make that change manually for all 20 pages. I would like to make the change on the one page "template" that the rest of my pages would use for the layout. Basically, each page will use a template for the layout - & will have it's own unique <body> content. Since each page is different. My site is printingexcellence.com - if you take a look at a couple of pages you will see that the only part of each of my pages that actually needs to be unique from every other page is only the <body> content of each page. Everything else stays consistent. If this doesn't make any sense, just let me know. I'm kinda new this whole message forum thing. Some people have told me that this can be done by using .PHP script? I'm just not sure how to go about solving this time consuming issue! Thanks for all your help ~ PPX |
|
#2
|
||||
|
||||
|
http://hotscripts.com/PHP/Scripts_and_Programs/
or you can pay to someone to build little cms with bbcode editor just for you |
|
#3
|
|||
|
|||
|
Thanks, I just an idea of where to start.
~ PPX |
|
#4
|
|||
|
|||
|
i would use a simple php include for sections that stay consistent on each page. something like
<?php include("menu.php"); ?> Then in the file menu.php just put your menu as you would do in a normal file. Only thing is your files need a .php extension to understand the include, or you have to set up the server that it parses .html as .php files. Just do a search for php include on Google, very simple to do. Or you could use Dreamweaver's library function. |
|
#5
|
||||
|
||||
|
he need small database, not include, he wants to change content in layout, not menu
|
|
#6
|
|||
|
|||
|
Quote:
Ok my bad i guess i did not understand his question then, still don't when i read it back. |
|
#7
|
||||
|
||||
|
Quote:
Quote:
i got problem with english 2 but i think i get it right |
|
#8
|
|||
|
|||
|
if I'm understanding your question correctly, i'd recommend what i use, dreamweaver, which allows you to set up a custom template with locked regions etc (there are other options as well) ..... when you need to make a global change to something like a nav bar, you just edit the template, which is linked to all the pages you created from it.......
you can also use DW to do global find and replace... this is another option..... |
![]() |
| Viewing: SEO Chat Forums > Other > HTML Coding > Page Layout Template |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|