[TYPO3] Render entries in tt_address description field as <ul> list

Sander van Gelderen mail at NOSPsandervangelderen.nl
Fri Feb 2 12:05:38 CET 2007


Robert Markula schreef:
> Hi!
> Every tt_address record has a 'Description' field.
> For my purpose I'd like each line in this field to be wrapped as a list 
> entry.
> 
> E.g. I write this in the description field:
> 
> Line 1
> Line 2
> Line 3
> 
> This should get rendered as an unordered list in the FE:
> 
> <ul>
>   <li>Line 1</li>
>   <li>Line 2</li>
>   <li>Line 3</li>
> </ul>
> 
> Is this possible, and how?
> 
> Cheers,
> Ro

Have a look at

http://typo3.org/documentation/document-library/core-documentation/doc_core_tsbyex/0.0.16/view/9/6/

There is an example using tt_address there, you just need to adjust the 
wrap's

Sander


More information about the TYPO3-english mailing list