[TYPO3-english] Textpic content element wrap

Jesper Mathiasen jekorma at gmail.com
Sun Jul 19 03:25:10 CEST 2009


Hello.

I want to wrap a text w. picture element including the header element 
into one div. This seems like a simple thing, but after many attemps I 
simply can not get it to work in a consistent manner.

The problem is that header and text/image are output as two different 
sections.

I want it to be like this:

__________________________________________________

<!--  CONTENT ELEMENT, uid:XX/textpic [begin] -->
<div>

<!--  Header: [begin] -->
<h3>HEADER HERE</h3>			
<!--  Header: [end] -->

		<!--  Image -->
			
		<!--  Text -->

</div>
						
<!--  CONTENT ELEMENT, uid:XX/textpic [end] -->

__________________________________________________

instead of like this:

--------------------------------------------------

<!--  CONTENT ELEMENT, uid:XX/textpic [begin] -->
<div>
<!--  Header: [begin] -->
<h3>HEADER HERE</h3>			
<!--  Header: [end] -->
</div>

<div>

		<!--  Image -->
			
		<!--  Text -->

</div>
						
<!--  CONTENT ELEMENT, uid:XX/textpic [end] -->

--------------------------------------------------

Any ideas?

Regards, Jesper.


More information about the TYPO3-english mailing list