Welcome to WebmasterWorld Guest from 107.20.20.39

Forum Moderators: open

Message Too Old, No Replies

Replacing Codes site wide with replace Option in Front Page 2002

Cant get this done with G Adsense codes

   
3:02 am on Nov 29, 2006 (gmt 0)

5+ Year Member



Hello I use Front Page 2002 and I want to replace adsense codes with another set of adsense codes using borders and images, however the replace function only allows me to change code in a line function. So code such as:
<script type="text/javascript"><!--
google_ad_client = "pub-#*$!#*$!#*$!#*$!#*$!x
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
//2006-10-10: My Site Channel
google_ad_channel ="#*$!#*$!#*$!#*$!x";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

written in the exact same way. If I attempt to highlight it and copy the only section that it will replace will be the first line.
Because the ad is written in this way It seems that I cant replace it. How can I sort this out. Is there a function that I can wholesale replace the codes accross the website.
Help here guys there are over 800 pages

4:40 am on Nov 29, 2006 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



One of the feature advances in FP2003 is the ability to find and replace multiple lines of code site-wide. It's a worthwhile update in many ways.
11:47 am on Nov 29, 2006 (gmt 0)

5+ Year Member



If I already have Front Page 2002 do I need to buy Front Page 2003?
11:51 am on Nov 29, 2006 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



It's not a free upgrade if that's what you're asking. You need to purchase the Upgrade Version, which is cheaper than the full version. (Also look at the Academic Versions if you qualify.)
11:56 am on Nov 29, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can also use a bit of software like "Search and Replace" which is a must have piece of software in my opinion.

Maybe in the future you could put your AdSense code into "web includes" in FP or use SSIs so you only need to change one/couple files to change site wide.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month