11 Aug
2005
11 Aug
'05
4:45 p.m.
Peter Apockotos wrote:
I am currently working on my own phptemplate and I have a question.
I am trying to ad google ads to content but I only want them to appear when someone clicks on read more.
Any advice? I am using the adsense module.
With the phptemplate module, I think this modification might do what you want;
if (module_exist("adsense")) { print adsense_display("120x600", 2, 4); }
(Also, adjusted to fit the Drupal codying style) if (module_exist("adsense")) { if ($page) { print adsense_display("120x600", 2, 4); } }