[drupal-support] phptemplate help needed

Peter Apockotos drupal at apockotos.com
Fri Aug 12 01:33:33 UTC 2005


On Aug 11, 2005, at 10:58 AM, Earl Miles wrote:

> Peter Apockotos wrote:
>
>>> if (module_exist("adsense")) {
>>>   if ($page) {
>>>     print adsense_display("120x600", 2, 4);
>>>   }
>>> }
>>>
>> Will that only let the ad load when the full story is shown?
>>
>
> I need to doublecheck and drupal.org is timing out just now; you  
> can look for yourself in the handbooks under themeing the  
> PHPTemplate engine, where it gives a list of variables (that I  
> think is 1 revision out of date, but is still pretty accurate) and  
> it tells you all of the variables. If I Remember It Right, $page is  
> set to true if you're looking at a node's full page. It's possible  
> I remember this wrong and there's a different variable that tells  
> you this.
>
> I'll try to check again later today if you're not able to figure  
> this out with that info.
> -- 


It wouldn't make any sense to me.  If you see http:// 
www.apockotos.com I am almost done with the conversion of my  
template.  But I don't enough about php to get all of the  
functionality I want.

And thank you for assisting me.



More information about the drupal-support mailing list