PDA

View Full Version : Multiple code edits



cheatpark
February 11th, 2002, 16:39
Is there some script that can edit the same thing in a load of html files at the same time really quickly. I don't want to have to edit all of the pages in my site to change the look.

Coolin
February 11th, 2002, 16:44
Get a host that allows PHP/SHTML and use includes.

You have to recode your files again, but you will never have to again.

cheatpark
February 11th, 2002, 16:56
I think my host supports it. What would you recommend? php or shtml? and how would I include them?

meow
February 11th, 2002, 16:56
Search & Replace.

cheatpark
February 11th, 2002, 16:57
Originally posted by meow
Search & Replace.
That's the long method.

meow
February 11th, 2002, 17:01
And how do you plan to get the include commands into the files? Magic?

cheatpark
February 11th, 2002, 17:21
No. I suppose I'll have to do it the hard way. I decided to use php files and use the include() command.

Mika
February 11th, 2002, 17:42
just use templates, ...why not..dreamweaver's templates system. Fast & easy...

cheatpark
February 11th, 2002, 18:02
If I am right a template in dreamweaver cannot be editted which is not good if you are redesigning a site. So, I am using php and that is final.