[drupal-support] Throttle used in a theme

Abalieno abalieno at cesspit.net
Thu Apr 21 20:10:30 UTC 2005


I know I can but I don't have the knowledge to figure out how to do it. Is 
there an example I can see so that I can then adapt it to my needs?

In a module I'd use something like:
if (throttle_status() == 1) {
     }

But where I put that and what I put inside?

I currently use the default xtemplate engine and I don't know if I should 
put the code in the xtemplate.xtmpl or in the engine itself, or both.

Can someone paste me a bit of code to show, for example, just an image after 
checking the throttle?

-HRose / Abalieno 




More information about the drupal-support mailing list