[TYPO3-dev] Plugin Counter: How often a plugin was inserted on	a page
    Francois Suter 
    fsuter at cobweb.ch
       
    Fri Jun 19 16:27:03 CEST 2009
    
    
  
Hi,
> When you insert a plugin like this:
> 
> lib.myPlugin < plugin.tx_sfslideshow_pi1
> 
> Then you'll never find it in tt_content.
> 
> I'll have a look at irfaq on weekend. Maybe I find something.
I don't know when you need to have that count. One possibility would be 
to use a static variable that is incremented each time your plugin is 
instantiated. The drawback, of course, is that you get the total count 
only after instantiation.
Cheers
-- 
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
    
    
More information about the TYPO3-dev
mailing list