Forums
This topic is locked
can't get templates to update rest of site
28 Dec 2003 17:31:06 scot scot posted:
i am an amateur with this program so i am probably missing something really obvious. i have been building small test sites to learn about dreamweaver. i have been using templates and although i do everything that 2 different books tell me to do, when i have constructed a few pages based on a template and then edit the template the update function doesn't show. it just saves the template and leaves the pages i constructed from it unchanged.
i open a new html document then insert the template. after i've made changes i save it outside the templates folder into the main site folder.
what am i doing wrong.
Replies
Replied 28 Dec 2003 22:27:58
28 Dec 2003 22:27:58 Janusz Jasinski replied:
Did you create a site for the templates? Is the template actually a template? Have you any editable regions in your template? Are the places your changing the editable parts of the pages or the restricted parts?
Janusz
======================
www.xlibris.co.uk
janusz.co.uk
ASP | VBScript | IIS 5.1 | Windows XP Pro | Linux Redhat 9 | SuSE 9 Pro | Linux FreeBSD 4.9 | PHP 5.0.0 Beta 2 | MySQL 4.0 | Apache 2.0.48 | Macromedia Studio w/t Flash 2004 | Microsoft Office Pro 2003 | Mozilla Firebird 0.7 | IE 6 | B.O.R.E.D @ HoMe
Janusz
======================
www.xlibris.co.uk
janusz.co.uk
ASP | VBScript | IIS 5.1 | Windows XP Pro | Linux Redhat 9 | SuSE 9 Pro | Linux FreeBSD 4.9 | PHP 5.0.0 Beta 2 | MySQL 4.0 | Apache 2.0.48 | Macromedia Studio w/t Flash 2004 | Microsoft Office Pro 2003 | Mozilla Firebird 0.7 | IE 6 | B.O.R.E.D @ HoMe
Replied 31 Dec 2003 00:26:06
31 Dec 2003 00:26:06 scot scot replied:
yes the site is a site as dreamweaver understands it. i have read what to do and i seem to be getting it right as everything else works including updating to remote server.
the templates have all been saved as templates and have the correct file name and are in the templates folder.
i have tried with editable regions and without, but i was wondering if my mistake was in this area. i am led to believe that an editable region is only necessary for editing and adding content in the document window, but a template can be edited itself by opening it seperately (say you need to add a link to a nav' bar) and once it's saved there will be a dialog box asking if all the pages based on the template should be updated. this doesn't happen when i try it.
if you suspect you will need to change the navigation bar, colours, images, or anything else in the template, does that mean you need to make everything in the template an editable region because that is not what i am reading in the books i have.
at the moment i am just cutting the content out from the page surround and pasting it into a new html document. it works fine but whenever i make a change to the surround i have to use find and replace which has caused me some grief up till now.
if you can shed some light on this i would appreciate it.
the templates have all been saved as templates and have the correct file name and are in the templates folder.
i have tried with editable regions and without, but i was wondering if my mistake was in this area. i am led to believe that an editable region is only necessary for editing and adding content in the document window, but a template can be edited itself by opening it seperately (say you need to add a link to a nav' bar) and once it's saved there will be a dialog box asking if all the pages based on the template should be updated. this doesn't happen when i try it.
if you suspect you will need to change the navigation bar, colours, images, or anything else in the template, does that mean you need to make everything in the template an editable region because that is not what i am reading in the books i have.
at the moment i am just cutting the content out from the page surround and pasting it into a new html document. it works fine but whenever i make a change to the surround i have to use find and replace which has caused me some grief up till now.
if you can shed some light on this i would appreciate it.