[drupal-support] Overriding theme causing problems with static
variables
Steve Dondley
sdondley at dondley.com
Sun Oct 2 16:15:45 UTC 2005
I've overridden the aggregator_page_item function, responsible for
displaying rss items on the /aggregator page. I overrode using the
phptemplate theme.
The function uses a static variable called $last. But apparently, the
act of overriding the theme function renders static variables useless.
The $last variable gets reset every time the function is called.
Anyone know how I can get around this?
--
Dondley Communications
http://www.dondleycommunications.com
Communicate or Die: American Labor Unions and the Internet
http://www.communicateordie.com
More information about the drupal-support
mailing list