Solved

pages do NOT update from template

Posted on 2004-08-23
7
162 Views
Last Modified: 2010-04-25
I am using a main template to control common features on first-level pages on my site and then a number of subtemplate to create pages dependent on those first-level pages.  E.g. The main page has links to: People; Policies; Links etc.  The main template controls common features of these.  The "People" page links to individual pages for colleagues, all of which share a common link menu.  When I update the "people" template it does not update the dependent pages.  The scan recognises that there are 9 pages to update but then does not update any and wierdly says that there are 0 pages that were not updated!  Please help!
0
Comment
Question by:britbear69
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 10

Expert Comment

by:rockmansattic
ID: 11874678
unfortunalty DW does not do a good job at updating templates.  You can search this site for other people with the same problem.
I have a couple of sites with hundreds of pages and it REALLY takes a while to change the template..

I have sound with those instances, to do a find/replace for the site.

also, if you can, use serverside includes files..
this way, when you change/update the menu or such, you only have to change one file.

Rockman
0
 
LVL 3

Expert Comment

by:Kevin Robinson
ID: 11914106
I have had this problem.  It is actually easily solved.  You need to update the Site Cache.  The option is under the site menu somewhere.  Sorry dont have dreamweaver in front of me.  This will reindex all the pages so the next time you update the templates it will include all pages.
0
 

Author Comment

by:britbear69
ID: 11921559
Thanks guys for the input.  I have used "Recreate Site Cache" and it is still doing the same thing -- looking at the 9 files based on my template; then not changing any of them!  I take it that it is this command that you are thinking of...
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 3

Accepted Solution

by:
Kevin Robinson earned 125 total points
ID: 11941024
I you only have 9 Files you could go to each file an reapply the template to the page.  If this does not work let me know.  I had this exact problem im just trying to remember some of the other things I tried.
0
 
LVL 10

Assisted Solution

by:rockmansattic
rockmansattic earned 125 total points
ID: 11941062
It is still easier to do a find/replace for the whole site for these instances.  Offen, DW will re-reconized that those pages are part of a template.

ALSO, the templates must be in the original folder named "templates" and it must be located one level below the files.

Rockman
0
 

Author Comment

by:britbear69
ID: 11941484
That´s great guys -- I will try these out and let you know -- thanks!
0
 

Author Comment

by:britbear69
ID: 11941663
Well, templates is in the correct location.  If I remove each page from the template and then reapply the template it comes up with unresolved regions -- but if I cut the main body content out, then remove the page from template, then reapply the template, the paste the material in the main body -- it works! :O  but I have to admit that even for 9 pages this is a bit of a pain and I am concerned that this is going to keep happening.  I will assign the points now  ;)   but I would be grateful if you could find a moment to tell me what exactly I should do with the find/replace...  Thanks again!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question