Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

How do I do this?

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch

grungemusic

Established Member
Impact
1
I got told I can add code to multiple pages at once through Dreamweaver?

I wanna add a stat counter and obviously don't wanna manually add it to 300 pages, so can I add it to every page automatically via DW and if so how?

Thanks
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
An easy way to do that is to use a theme. Put it in an html document, and put a secion above it by clicking insert, template object, editable regon. Then goto file save as template. Then you can goto the pages and hit apply template... but now that i think about it, this isn't much shorter... but it'll save you trouble next time :). If anyone else has a way, go ahead i'd love to learn how to easily do this haha.
 
0
Close
If all the pages have the same code in the footer you can highlight the code that is the same (it has to be exactly the same), then hit ctrl+f (find).

From here you can a find & replace within the entire current local site. If you have an identical chunk of code on every page, then replace that code with the same thing + the counter.
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back