[TYPO3-english] Customize content types

dave wong frontleft at gmail.com
Thu Feb 24 11:20:08 CET 2011


Hi Enrique,

here's a good example of what you are trying to do found at TYPO3 Wizard.

http://www.typo3wizard.com/en/snippets/cool-stuff-typoscript/using-the-layout-field-in-tt-content-and-pages.html

<http://www.typo3wizard.com/en/snippets/cool-stuff-typoscript/using-the-layout-field-in-tt-content-and-pages.html>Sorry
don't have time to explain further.

Regards, David.

On Thu, Feb 24, 2011 at 5:03 PM, Enrique Moreno Tent <
enriquemorenotent at gmail.com> wrote:

> Hey guys. I've created some content-element types with this code:
>
> TCEFORM.tt_content.header_layout{
>    altLabels {
>      2 = white Box
>      1 = green Box
>      0 = Normal
>    }
> }
>
> And now I would like to wrap some <div class="white-box"> and so around
> them, depending on their type. How can i do this?
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list