homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

dreamweaver template filler

5+ Year Member

Msg#: 1319 posted 9:18 pm on Dec 22, 2005 (gmt 0)

In dreamweaver can you put a template that you've created around multiple content in one fell swoop?

For example, let's say I have 1,000 pictures, I want them all to be in my template form (they also have their own navigation and descriptions on their individual pages).

Is there a button I can use to say "put template on all"?

Or do I have to put the template one at a time?


I have the latest dreamweaver, mx, or 8, whichever is most recent



10+ Year Member

Msg#: 1319 posted 9:47 pm on Dec 22, 2005 (gmt 0)

You can't do that, it would have to be the other way round that pages are spawned from the .dwt file.


10+ Year Member

Msg#: 1319 posted 1:36 am on Dec 23, 2005 (gmt 0)

If you're very very good with find-and-replace -- AND if you back up your entire site before attempting this -- AND if your existing photo pages are consistent in all the code before and afer the photo/description part -- then you could possibly do a sitewide find-replace to replace all the non-template code with the template code. It would take at least two passes -- replace all the code before the photo/description bits, and all the code after them.

However, you should not do this unless you feel confident of your find/replace ability, and you should absolutely back up your site beforehand. You're been warned: if the whole things gets totally mucked up and you didn't back up first, you'll have only yourself to blame.

Provided you do a complete site backup first, there's no harm in trying it.


5+ Year Member

Msg#: 1319 posted 11:57 pm on Dec 28, 2005 (gmt 0)

thanks for all your help

can you also take off a template from all the pages on your site in one swoop?

what happens to a site that wants to put all content into a newly formatted template? just saving the new template as the old one and then it will update all of them?

i guess that might work no?

also: my content, when i put a template around it, all gets put into one size font, even if i have it differently sized in the pre-template content, is there any way to avoid this changing of the font once you put the template around it?


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved