Reply
Dreamweaver Question: Setting up a root template file?
Old 06-27-2009, 01:27 PM Dreamweaver Question: Setting up a root template file?
Skilled Talker

Posts: 66
Name: chris
Trades: 0
I need to set up a root basic template file for my website. All my pages are based off the SAME design, just different text.

I want to (and I know its possible) have lets say the index.html as the root template. So if I change a link in the navbar on index.html, it changes the link automatically for EVERY single other page on my site. So I dont have to go through EACH page and change the one link in the navbar.
boxiom is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 06-29-2009, 01:29 AM Re: Dreamweaver Question: Setting up a root template file?
GeekSpecialties's Avatar
Super Talker

Posts: 113
Name: Leonard
Location: Minnesota, USA
Trades: 0
You want to use includes.
You just need to break your page apart into sections.
Common content across all pages can be included, reducing creating the same code for multiple pages.

Also perfect for your menu, when you want to change content, you just change one file and everywhere it's included it will be the same.

I did a quick Google, and these look pretty good for the concept.
http://www.apaddedcell.com/how-autom...ter-every-page

http://www.isitebuild.com/php-include.html
GeekSpecialties is offline
Reply With Quote
View Public Profile Visit GeekSpecialties's homepage!
 
Reply     « Reply to Dreamweaver Question: Setting up a root template file?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.11876 seconds with 13 queries