[TYPO3-english] MEDIA object has no stdWrap?

François Suter fsu-lists at cobweb.ch
Tue Jul 13 21:01:35 CEST 2010


Hi,

> tt_content.media = COA
> so you can wrap what you want

Yep, but that's a wrap around both content and heading. I need a wrap 
around the content part only.

> or, MEDIA only use
> tt_content.media.20.stdWrap
> It's already in use:
>
> 20.stdWrap {
> editIcons = tt_content: pi_flexform, bodytext
> editIcons.iconTitle.data =
> LLL:EXT:css_styled_content/pi1/locallang.xml:eIcon.multimedia
>
> prefixComment = 2 | Media element:
> }

I'm not sure this is really used. This is added to every content 
element, but in the case of the MEDIA element my impression is that it 
does nothing. I went through the code of tslib_cObj::MEDIA() and I 
didn't see any use of stdWrap, which really surprised me (which is why 
I'm wondering whether I missed something).

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-english mailing list