Closed (won't fix)
Project:
Htmlarea
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2004 at 16:16 UTC
Updated:
7 Jan 2005 at 06:11 UTC
When I try to put an google ad in a banner, I've got this error: google_ad_width is undefined. (Drupal 4.5.0)
The ad appear in the banner config but not in the page...
Any ideas ?
Thanks!
GG
Comments
Comment #1
jeremy commentedGoogle ads are displayed with javascript, as are banner.module ads. I do not know any way to display a google ad within a banner.module ad. I recommend instead you either ad the add to a custom box, or directly to your theme.
Comment #2
ggalopin commentedThanks for the answer.
The problem is when I put ads directly in the theme, I've got a conflict with HTMLarea when trying to edit a theme. The popups (image, links) don't work.
GG
Comment #3
jeremy commentedI'm moving this issue to the htmlarea module, as you're more likely to get help there. Odds are someone has run into this before. Good luck.
Comment #4
gordon commentedI have added adsence to my web page and I have no problems with htmlarea. Can you please give an url so I can test this. Also setting up a demo page much like what I have on my web site will allow me to access and test htmlarea and see if it is a problem.
Comment #5
gordon commentedAre you sure that you have added the code to you theme correctly. esp the google_ad_width var which is within the code.
I am 99.99% sure that it is not a problem with htmlarea, or the variable name space.
Comment #6
gordon commentedThere seems to be an issue with htmlarea and IFRAMES which can cause some errors. I have been getting this error as described here http://www.htmlarea.com/forum/htmlArea_3_(beta)_C4/htmlArea_v3.0_-_Beta_Release_F14/Setup_help%3B_Popup_(link,image,etc)_errors_P27428/
I solved this problem by not displaying google ad's on pages where htmlarea is used.