PDA

View Full Version : kompozer and javascript for adwords



thundergallery
04-13-2009, 08:39 AM
i'm trying to place adsense ads on my site. i'm using kompozer to ftp my page to bluehost. for some reason, kompozer seems to modify the adsense javascript code during the ftp transfer and so the ads do not show up on my site. can anyone help---thanks

here is how the site builder publishes the code:
<script type="text/javascript"><!--
google_ad_client = "pub-";
/* 728x90, created 4/10/09 */
google_ad_slot = "1987350263";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript" src="show_ads.js">
</script>

here is the actual google code:
<script type="text/javascript"><!--
google_ad_client = "pub-";
/* 728x90, created 4/10/09 */
google_ad_slot = "1987350263";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> (this outside google link gets removed)
</script>

deejroth
04-13-2009, 10:58 AM
The only solution I can figure is to go into your file manager on bluehost and change the code manually. I know this defeats the purpose of FTP accounts, but this may solve your problem or even show you what may actually be wrong.

Hope that helps,
DeeJRoth

thundergallery
04-13-2009, 11:35 AM
thanks...i went to file manager and uploaded my file directly from my hard drive back up. this way i circumvented kompozers ftp client. it worked!

however, how would i manually edit my html in file manager... i could not find the file that would produce the page source code... it looks like different elements from the page are stored item by item ??

deejroth
04-13-2009, 02:04 PM
I am not sure I understand what you mean. Could you provide an example of "item by item" please?