Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Dreamweaver (all versions)
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 5th, 2010, 01:21 AM
Registered User
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dreamweaver CS5 Question

Hello Everyone,

I am new here, I'm a college student majoring in IT/MVC and web design. My question is: Once you have made the index page into a template how do you make a new file from it and edit it with the same format?? The new file tells me that it's not able to edit a template file because templates are locked?? Please help, I'm so confused!! Thanks
Reply With Quote
  #2 (permalink)  
Old September 5th, 2010, 01:04 PM
Friend of Wrox
Points: 1,749, Level: 16
Points: 1,749, Level: 16 Points: 1,749, Level: 16 Points: 1,749, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2007
Location: San Diego, CA, USA.
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

You have to understand how a template works. It sounds like you've written a webpage and turned it into a template. What makes a template in Dreamweaver work, is that you don't write an entire webpage. The only thing that you write into a Dreamweaver template is the XHTML that you want to appear on ALL webpages. Then each spot where you are going to have custom content on each page you insert an editable area. Usually as few as possible, one for the title in the doc head, one for a main content area, and if necessary, one or two others. Each one you add however, increases the complexity that you have to maintain as you go.

Once you have set up your editable areas, you can create a new file and choose the new template. Now each editable area allows you to insert content and the rest of the text is greyed out. That's defined by the template so it won't let you edit that at the page level, you have to go back to the template file itself. Also note that you can have multiple levels of templates. You can have one template with stuff that's on every page in the website. Then you have four other templates, each one based on the first template, yet customized for the items common to the four sections of the website. Then the individual webpages are based on the template for that particular section.


__________________
-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
Reply With Quote
Reply


Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about combining flash into dreamweaver zionchild Dreamweaver (all versions) 0 May 9th, 2005 06:22 PM
Dreamweaver help savinay Dreamweaver (all versions) 1 November 11th, 2004 02:00 PM
Dreamweaver help brandon Dreamweaver (all versions) 1 August 11th, 2004 04:02 PM



All times are GMT -4. The time now is 10:31 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.