[TYPO3-templavoila] FCE: stdWrap on a field type Container

Xavier Perseguers typo3 at perseguers.ch
Thu Jun 10 17:37:23 CEST 2010

Hi Ron,

> field_section_container
> 	field_list_item_container
> 		field_css_class
> 		field_content
> The HTML template I would make something lie this
> <ul>
>     <li>
>        <span id="content-mapping-hook">&nbsp;</span>
>    </li>
> <ul>
> Basically you
> 1) map field_section_container to the ul with a mapping that keeps the tag.
> 2) map field_list_item_container to the li with mapping that eliminates the tag. I think with a CO you will use inner.
> 3) Do not map field_css_class
> 4) map field_content with mapping that eliminates the tag. I believe in this context it will be outer.
> 5) in the TypoScript for field_content you use dataWrap to wrap the content in a<li>  and insert the class from field_css_class

Of course!!!

Funny why we sometimes go in the wrong direction ;-)



More information about the TYPO3-project-templavoila mailing list