Those are the global weblog preferences, you want to actually click on “Weblog Management” then edit the weblog you are posting to.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 09, 2007 7:14pm
Subscribe [4]#16 / Aug 10, 2007 6:07pm
Those are the global weblog preferences, you want to actually click on “Weblog Management” then edit the weblog you are posting to.
#17 / Aug 10, 2007 6:15pm
Thank you very much Lisa,
I found it, however “allow all html” is already selected.
Do you have any other ideas why the google ads will not display?
Cathie
#18 / Aug 10, 2007 6:17pm
Cathie,
Google has to spider your page and find the ads on the page, then it can take a few hours to a few days for it to show any content. There is always a wait while Google learns your site. If you view source and see the JS there in-tact, then it is just a matter of waiting for Google. My bet is that you’re not doing anything wrong, you just have to wait on Google.
#19 / Aug 10, 2007 6:22pm
I just noticed something important.
Even thought I paste:
<div id=“googlead”>
<!—
google_ad_client = “pub-2694829538333107”;
google_ad_width = 120;
google_ad_height = 90;
google_ad_format = “120x90_0ads_al_s”;
google_ad_channel = “”;
google_color_border = “CC0000”;
google_color_bg = “FFFFFF”;
google_color_link = “CC0000”;
google_color_text = “CC0000”;
google_color_url = “CC0000”;
//—>
When I go to check the HTML, I get:
<div id=“googlead”>
<!—google_ad_client = “pub-2694829538333107”;
google_ad_width = 120;
google_ad_height = 90;
google_ad_format = “120x90_0ads_al_s”;
google_ad_channel = “”;
google_color_border = “CC0000”;
google_color_bg = “FFFFFF”;
google_color_link = “CC0000”;
google_color_text = “CC0000”;
google_color_url = “CC0000”; //—>
</div>
It seems that the javascript tag get deleted!
Cathie
#20 / Aug 10, 2007 6:23pm
Do you mean here, or on your site?
#21 / Aug 10, 2007 6:23pm
Sorry i see that script type=“text/javascript get deleted from this post as well.
#22 / Aug 10, 2007 6:23pm
Cathie, is your site public for us? Could you link to it so we can see the results? This will help us figure out if it’s an EE issue, or a javascript, etc issue.
Thanks! Have a great weekend.
#23 / Aug 10, 2007 6:24pm
On both sites
#24 / Aug 10, 2007 6:25pm
I will leave link active for a couple days
http://4fashionadvice.com/index.php?/4fashionadvice/index3/google_test/
#25 / Aug 10, 2007 6:27pm
Yep, the code is there and intact.
#26 / Aug 10, 2007 6:30pm
It seems all javascript tags are removed from the html while publishing a weblog entry.
#27 / Aug 10, 2007 6:36pm
Cathie, I’m not sure why you think that, since it is in the rendered source of your page, which you can view by right clicking and choosing “View Source”.
#28 / Aug 10, 2007 8:25pm
Sorry Lisa,
The ad you are seeing is currently in the template. Not in the weblog.
#29 / Aug 10, 2007 8:40pm
We are trying to get the google add to display within the body of the weblog entry. The javascript tags are removed by EE. Perhaps this is for security, but could we allow administrators to do it?
#30 / Aug 12, 2007 12:42pm
I always do it via the template as well, but I thought it would work with ‘Allow all html’ on. If you want us to test- can you put the js in a text file, zip it up, and attach it? I also tried Sue’s approach- create a global template variable called ‘google’- put the ad code in that. Then wherever you want your adsense code inside the entry? Just use the global- {google}. Worked in a quick test- and it’s a bit less messy.