homepage Welcome to WebmasterWorld Guest from 54.167.138.53
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Replacing Codes site wide with replace Option in Front Page 2002
Cant get this done with G Adsense codes
newborn

5+ Year Member



 
Msg#: 3171534 posted 3:02 am on Nov 29, 2006 (gmt 0)

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

 

bill

WebmasterWorld Administrator bill us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3171534 posted 4:40 am on Nov 29, 2006 (gmt 0)

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.

newborn

5+ Year Member



 
Msg#: 3171534 posted 11:47 am on Nov 29, 2006 (gmt 0)

If I already have Front Page 2002 do I need to buy Front Page 2003?

bill

WebmasterWorld Administrator bill us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3171534 posted 11:51 am on Nov 29, 2006 (gmt 0)

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.)

The Contractor

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3171534 posted 11:56 am on Nov 29, 2006 (gmt 0)

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.

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