PDA

View Full Version : Updating a template


gigiloumill
09-16-2011, 06:12 PM
Guys, is there a way to update the page "description" individually on all the pages created with a template? I need to give a different description to all the pages in a site but, since site was created with a template, it only lets me update all pages at the same time. Thanks.

dbepp
09-16-2011, 07:49 PM
Could you hand code it in? You're using Dreamweaver, correct?

gigiloumill
09-17-2011, 02:27 AM
I've tried but, unless you're editing the main tp, you can't. My other alternative would be to remove each page from the tp.

edbr
09-17-2011, 03:02 AM
or make the description an editable section/region in the dwt file

DWcourse
09-17-2011, 05:26 AM
When you create a template there should be an editable region:

<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->

created in the <head> of the document.

If you don't include a meta description tag in your template, when you add a description (menu Insert>HTML>Head Tags>Description) to a page based upon the template it will be added in that region.

If that region doesn't exist in your template, add it manually.

gigiloumill
09-17-2011, 12:53 PM
Thanks guys, it worked...