[drupal-support] phptemplate help needed

Gordon Heydon gordon at heydon.com.au
Fri Aug 12 01:29:16 UTC 2005


Hi,

In the node.tpl.php you can use the $main value which is set to 0 when
you are looking at the full content.

Gordon.

On Thu, 2005-08-11 at 05:40 -0400, 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.
> 
> if (module_exist("adsense"))
> {
>   print adsense_display("120x600", 2, 4);
> }




More information about the drupal-support mailing list