[TYPO3] pi_wrapInBaseClass and <span>..

Irene Höppner ih at abezet.de
Wed May 24 11:32:34 CEST 2006


> AFAIK all content returned from plugins should be returned through  
> pi_wrapInBaseClass function.
> But what about situations when one needs another tag than <div>, f.i.  
> <span>?
> One could, of course, make the div an inline element, but that's not the  
> point.
> Shouldn't be considered to add a parameter to pi_wrapInBaseClass where  
> on specyfies what wrapper should the function use with <div> as default?

I guess, it's a one- or twoliner... so if you need a span, copy this one  
ore two lines in your plugin and change div to span...

> And wouldn't it be better if instead of class='..' T3 was using id='..'?
> It's just a thought.. just a thought..

what, if two plugins of the same time are included on the page? ;-)

Greets: Irene

-- 
Irene Höppner
A.BE.ZET GmbH
http://www.abezet.de



More information about the TYPO3-english mailing list