Forum Moderators: open

Message Too Old, No Replies

Dreamweaver Template Help

Won't update pages!

         

lazerbud

7:42 am on Feb 19, 2005 (gmt 0)

10+ Year Member



Hi,

I used DW to create a template for my site, which has 54 pages. I updated it last a few months ago, on updating the main template, DW would automatically update the 54 pages using this template.

However, upon creating the changes this time around in the main template, DW refuses to update my other pages!
I tried it manually as well but it still isn't working

Can anyone offer any help/suggestions of how I could get DW to update my other pages?

Thanks,

Sari

12:51 pm on Feb 19, 2005 (gmt 0)

10+ Year Member



Hi,

I've had this problem once or twice before as well. I can't remember exactly how I fixed it, but try recreating the site cache. Also, keep in mind that any changes you make to the template in an "Editable Region" will not update on the rest of the pages. This was my problem once and I ended up adding what I wanted in a div outside of the editible area with using css to place the information where I wanted it to appear.

Sari

DerekH

2:56 pm on Feb 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you New something up from a template, there's a tick box you could uncheck - it means that changing the template wouldn't change the file.

It disconnects the template from the file.

I'd imagine that's not the case in your instance, but sometimes the obvious is the one!
DerekH

lazerbud

7:09 am on Feb 21, 2005 (gmt 0)

10+ Year Member



Which is that option? I couldn't find anything in dreamweaver :(

I still haven't updated my pages in 3 days..I'm sorry I used DW templates now!

DerekH

7:35 am on Feb 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You shouldn't be sorry you used Templates - they can be magnificent!

When you open a non-updating file, does it have the template name in the top right of the design window, in pale yellow (that's MX on a Mac, but I guess it's common to all platforms).

If not, reattach the template using the Modify/Templates/Apply menu.
That would undo de-attaching the template.

If it does say it's linked, try the update pages submenu in the same menu

I've had problems when the site cache gets out of date.

Oh, and never move your Templates into a new folder!

Hope that helps
DerekH

lazerbud

8:59 am on Feb 21, 2005 (gmt 0)

10+ Year Member



I do have the light yellow bar with the tab on the top right with the name of the template I'm using.

I see my template is at 2 locations, one where I saved it and another in the dreamweaver-->lessons--->template directory, when I save my .dwt file it doesn't update the pages using the .dwt, and it doesn't work manually either :(

DerekH

9:39 pm on Feb 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You shouldn't have it in two locations.

On an Apple Mac (I guess it's the same on a PC), templates HAVE to be in the Templates folder that Dreamweaver makes for you in your project file structure.

The Save As Template forces it into the correct location.

One thing you might consider trying is to copy the whole project to a new location (for safety!) and then
a) Open the template.
Fiddle with it - enter a character or two and then delete them.
Do a Save As Template and give it a new name.

b) Open just one of the files that doesn't update.

c) Manually (via the Modify menu) apply the new template to it.

d) Save it.

e) Open the new template, fiddle with it and see if it updates the page when you save the template.
It should do.
If it does, ditch the old template, give the new one the old name, and then (if necessary) reattach the templates.

DerekH