[TYPO3] Templavoila: wrapping each content element within a ds

John Kavanagh john.kavanagh at roomthree.com
Tue Feb 20 20:24:26 CET 2007


Hello,

 

I have a simple question, that I cannot find an answer for anywhere!!

 

I want each content element that comes from a data structure mapping to
be wrapped with a custom tag.

I have tried editing the following code that appears in the xml:

 

<![CDATA[

          10= RECORDS

          10.source.current=1

          10.tables = tt_content

          10.wrap = &lt;!--TYPO3SEARCH_begin--&gt; |
&lt;!--TYPO3SEARCH_end--&gt;

]]>

 

I have added 

10.10.wrap = "<div class="item"> | </div>"

and tried to nest content objects within it, but nothing seems to work.

 

Can someone tell what I need to do??

 

Thanks a million,

 

John

 

Roomthree Design
29-30 Dame Street 
Dublin 2 
Phone +353 1 6709019 
Fax +353 1 6709215 
www.roomthree.com <http://www.roomthree.com/>  


The information in this e-mail is confidential and may be legally
privileged. 
It is intended solely for the addressee. Access to this e-mail by anyone
else 
is unauthorised. If you are not the intended recipient, any disclosure,
copying, 
distribution, or any action taken or omitted to be taken in reliance on
it, 
is prohibited and may be unlawful

 



More information about the TYPO3-english mailing list