[TYPO3] Wrap everything but header of a content element

JoH asenau info at cybercraft.de
Fri Feb 16 02:39:25 CET 2007


> I've found how to wrap just the header, and how to wrap the entire
> content element. But how do I wrap everything but the header.
>
> I just tested it by modifying the tt_content.text.20.wrap. But when I
> change this and then add text/w image content elemtent then the image
> block is not included.
>
> What I need is this:
>
> <!-- content element -->
> <h1>my header</h1>
>
> <div class="myEverythingButTheHeaderWrappedWrap">
> Here goes everything but the header regardless of the content element
> type. </div>

So you should still wrap the header and the entire element but slightly
different:

Wrap for the header
<h1>|</h1><div class"myEverythingButTheHeaderWrappedWrap">

Wrap for the element
|</div>

Should do the job

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com




More information about the TYPO3-english mailing list