Anyone know how to update all html pages on a site at once?Add a new section

They have: 27 posts

Joined: Feb 2005

I know there's got to be a way to do this, because it'd be way to hard for webmasters with big sites to add a new section and update it if they had to change each page. Im using dreamweaver and want to add a style sheat to all the pages on my site and also a new section. Is there any way to update all the pages without going through every page and manually doing it? Im using dreamweaver

demonhale's picture

He has: 3,278 posts

Joined: May 2005

If you mean updating the site, you mean what? The contents? The Look?

for the Look, make a universal CSS file that will enable you to update the entire sites look by modifying only the CSS file...

chrishirst's picture

He has: 379 posts

Joined: Apr 2005

If you designed the site originally using includes (or DW templates), there may well be a way. If you didn't there isn't.

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

I occassionally come across this problem and there is a way of doing it...

  1. Open dreamweaver.
  2. Open your site.
  3. Insert the new stylesheet on one page.
  4. Make sure you're in Code view then select the line of text above your style sheet link, then on the menu: Edit -> Copy.
  5. (I'm assuming you have this defined as a site in DW) Go to Edit -> Find and Replace...
  6. On the "Find in:" drop-down box select "Entire Current Local Site"
  7. On the "Search:" drop-down box select "Source Code"
  8. Ensure that the text you copid in step 3 is in the "Find:" text box, if it isn't right-click then paste it in.
  9. Select and copy both the line above and the new stylesheet reference then paste them into the "Replace:" text box.
  10. Check the "Find:" and "Replace:" boxes look something like the example below then click "Replace All." Be careful though - if this goes wrong it will really go wrong.

Below's an example of what your finished "Find:" and "Replace:" text boxes should look like:

Find: <title>blah blah</title>

Replace: <title>blah blah</title>
<style type="text/css" media="all">
@import url(stylesheet.css);
</style>

That'll solve your stylesheet problem, you might be able to fix your content by using a variation of this method.

Usually authors will have a CMS that manages all content for them. Smiling

a Padded Cell our articles site!

They have: 10 posts

Joined: Aug 2005

if ur site is big i recommend you to use CMS (Content Management System) it give the flexibility to easily change your content, layout and design.

There are few popular open source CMS out there you might wan to try out some. here are they:-
- http://www.mamboserver.com/
- http://www.Drupal.org

MamakCorner.com - Your Online Freebies Guide ( Free hosting, free advertising, free url submission, free stat counter, etc ...) Smiling

They have: 27 posts

Joined: Feb 2005

thanks everyone im gonna try a few of these ideas out and ill let you know how they worked form me

They have: 27 posts

Joined: Feb 2005

I tried jevesbond method and it worked perfect, Im definately going to be using that alot from now on
thanks

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.