PDA

View Full Version : dreamweaver capabilities


JDesigns
01-31-2009, 12:24 AM
Is there a way for dreamweaver to allow you to add a section of code to all pages in you website.

edbr
01-31-2009, 12:32 AM
templates .dwt files.
or you could use find and replace if you have a common item in every page (like title maybe) and replace with the same item and replace with that item and the code you wanr to add (really depends on what it is and where yo want it.

JDesigns
01-31-2009, 12:51 AM
Thanks, can't believe i didn't think of that.

WallyJ
01-31-2009, 11:52 PM
It depends on your structure, but if you're using php, you could "include" a file wherever you want the code to show and then put that include in all the pages you want to use the code.

That way if you change the code, you only have to change it one place rather than doing a find/replace in 100 pages or so.