Adsense Injector and paging

jasonmcd - March 2, 2007 - 00:50
Project:Adsense Injector
Version:6.x-2.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:hswong3i
Status:closed
Description

When I use the paging module with adsense, the ads don't show up on pages. The two modules together will increase clicks. Can someone help me figure out why they don't work together? I just started with Drupal two weeks ago.

Thanks
Jason

#1

dzynz - April 25, 2007 - 06:25

hello? Anything?

#2

furmans - May 13, 2007 - 21:29

I'm seeing this problem too.

#3

furmans - May 13, 2007 - 22:48

It looks like the order of invocation of the modules causes the adsense_injector hook to run before the paging hook. I'm not really sure how to fix adsense injector by default but here's a query to run on your database that will "fix" the problem. This query causes the adsense_injector hook to run after all of the default (weight=0) hooks.

UPDATE system SET weight=1 WHERE name='adsense_injector';

This fixes the same problem at my site: inventorspot.com

#4

hswong3i - January 2, 2009 - 03:06
Version:5.x-2.1» 6.x-2.x-dev
Assigned to:Anonymous» hswong3i
Status:active» fixed

@furmans: Your suggestion is now integrate for both 5.x-2.x-dev and 6.x-2.x-dev. Thanks for solution :D

#5

System Message - January 16, 2009 - 03:10
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.