HTML Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherHTML Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old October 13th, 2005, 10:40 AM
ppxadmin ppxadmin is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: Atlanta, Ga
Posts: 4 ppxadmin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 23 m 23 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old October 13th, 2005, 12:11 PM
Bruno's Avatar
Bruno Bruno is offline
Croatia - Hrvatska
SEO Chat Intermediate (1500 - 1999 posts)
 
Join Date: May 2005
Location: Croatia - Hrvatska
Posts: 1,892 Bruno User rank is Corporal (100 - 500 Reputation Level)Bruno User rank is Corporal (100 - 500 Reputation Level)Bruno User rank is Corporal (100 - 500 Reputation Level)Bruno User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Weeks 1 Day 1 h 1 m 11 sec
Reputation Power: 9
http://hotscripts.com/PHP/Scripts_and_Programs/

or you can pay to someone to build little cms with bbcode editor just for you

Reply With Quote
  #3  
Old October 14th, 2005, 12:10 AM
ppxadmin ppxadmin is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: Atlanta, Ga
Posts: 4 ppxadmin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 23 m 23 sec
Reputation Power: 0
Thanks, I just an idea of where to start.


~ PPX

Reply With Quote
  #4  
Old October 14th, 2005, 02:00 AM
cls cls is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Location: Netherlands
Posts: 111 cls User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 48 m 49 sec
Reputation Power: 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.

Reply With Quote
  #5  
Old October 14th, 2005, 02:04 AM
Bruno's Avatar
Bruno Bruno is offline
Croatia - Hrvatska
SEO Chat Intermediate (1500 - 1999 posts)
 
Join Date: May 2005
Location: Croatia - Hrvatska
Posts: 1,892 Bruno User rank is Corporal (100 - 500 Reputation Level)Bruno User rank is Corporal (100 - 500 Reputation Level)Bruno User rank is Corporal (100 - 500 Reputation Level)Bruno User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Weeks 1 Day 1 h 1 m 11 sec
Reputation Power: 9
he need small database, not include, he wants to change content in layout, not menu

Reply With Quote
  #6  
Old October 14th, 2005, 05:09 AM
cls cls is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Location: Netherlands
Posts: 111 cls User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 48 m 49 sec
Reputation Power: 4
Quote:
Originally Posted by Bruno
he need small database, not include, he wants to change content in layout, not menu


Ok my bad i guess i did not understand his question then, still don't when i read it back.

Reply With Quote
  #7  
Old October 14th, 2005, 05:13 AM
Bruno's Avatar
Bruno Bruno is offline
Croatia - Hrvatska
SEO Chat Intermediate (1500 - 1999 posts)
 
Join Date: May 2005
Location: Croatia - Hrvatska
Posts: 1,892 Bruno User rank is Corporal (100 - 500 Reputation Level)Bruno User rank is Corporal (100 - 500 Reputation Level)Bruno User rank is Corporal (100 - 500 Reputation Level)Bruno User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Weeks 1 Day 1 h 1 m 11 sec
Reputation Power: 9
Quote:
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.


Quote:
Basically, each page will use a template for the layout - & will have it's own unique <body> content.


i got problem with english 2 but i think i get it right

Reply With Quote
  #8  
Old October 18th, 2005, 12:26 PM
kbf kbf is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Location: Pennsylvania
Posts: 46 kbf User rank is Private First Class (20 - 50 Reputation Level)kbf User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 14 h 58 m 16 sec
Reputation Power: 3
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.....

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherHTML Coding > Page Layout Template


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway