Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Computer Forum


You are currently viewing our Computer Forum as a guest. Please register to participate.
Login



Closed Thread
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: 67
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
View Public Profile
 
 
Register now for full access!
Old 06-29-2009, 01:29 AM Re: Dreamweaver Question: Setting up a root template file?
GeekSpecialties's Avatar
Super Talker

Posts: 132
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
View Public Profile Visit GeekSpecialties's homepage!
 
Closed Thread     « 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.11213 seconds with 12 queries