Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 5th, 2010, 12: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
 
Old September 5th, 2010, 12:04 PM
Friend of Wrox
 
Join Date: Jun 2007
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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about combining flash into dreamweaver zionchild Dreamweaver (all versions) 0 May 9th, 2005 05: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 03:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.