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

Comments

dzynz’s picture

hello? Anything?

furmans’s picture

I'm seeing this problem too.

furmans’s picture

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

hswong3i’s picture

Version: 5.x-2.1 » 6.x-2.x-dev
Assigned: Unassigned » 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

Status: Fixed » Closed (fixed)

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