Click to See Complete Forum and Search --> : Global Updates In Web Site Built With CSS Pages


Oceanwalker
04-20-2006, 09:30 PM
Hi,

I'm a total newbie, so any help here would be great. I have built my first web site with Dreamweaver 8 using CSS throughout the site. I have about 20 pages right now that were copied/saved after the index page. I'm trying to do a global update on my site, as I have made some changes to the index page and all the pages are modeled (saved) after the index page, but the index page is the only page that is saving the changes. The other sub pages are not saving the changes I've made to the index page. How do I make changes to the index page and then just save them on all the other pages without having to update each page individually? I've tried saving the index page and thought all the other pages would automatically update, but they are not. Please, help!! Thanks! :rolleyes:

ray326
04-20-2006, 10:28 PM
This sounds more like a DW usage problem than a CSS problem so I'm moving it to a better place after I respond badly. How did you "model" the pages after the index page? The only way I know to do a template that applies to a group of pages is to apply the template to them all. Then changing the template would cause all the pages to change accordingly. But I know nothing of DW.

Oceanwalker
04-20-2006, 10:42 PM
Ray,

Sorry for posting in the wrong area, I'm a newcomer.

What I did in Dreamweaver 8 was to first create my index page. Once I created that, then I went file>save as and renamed the page a different name. I used a CSS starter page to create my index page in Dreamweaver, so therefore, all the pages are CSS based on what I did.

Now all I'm trying to do is to do a "global" update of the changes in my index page, so that I can update all the pages with one click.

And this is where I'm getting stuck. Since the pages are not considered templates, but rather CSS pages, there is no update like there is with the templates. So I'm stuck, and this has to be an easy fix. I just can't figure it out....

Anyone know how to do this? Your help is really appreciated.

jogol
04-21-2006, 03:29 AM
maybe a search and replace on "all open documents" or "all documents of the site" in multiple steps is an option?

KDLA
04-21-2006, 08:34 AM
maybe a search and replace on "all open documents" or "all documents of the site" in multiple steps is an option?

Although this IS probably the only option, since you've not used a template, be warned that Dreamweaver is notorious for finding and replacing items that might not exactly fit your "replace" criteria. Also, if all your links are relative, replacing them with those in your index page may cause them to break, if any of your files are placed in subfolders.

As Ray suggested, your best bet is to use your index page as a basis for a template, then use Dreamweaver's template features to update other documents in your site.

KDLA