[TYPO3] Typo deleting html template content

Jody Cleveland Cleveland at winnefox.org
Tue Jan 31 23:55:04 CET 2006


> Hi Jody. If you want to use the 1st option Christopher 
> described, then you 
> can do it like this:
> 
> --- cut ---
> NO.stdWrap.cObject = TEXT
> NO.stdWrap.cObject.field = title
> NO.stdWrap.cObject.split {
>     # Split the string at the "|" char
>     token = |
>     cObjNum = 1
>     1.current = 1
>     # Trim away any leading/trailing spaces
>     1.trim = 1
>     # Wrap each part with a space at the end.
>     1.noTrimWrap = || |
>   }
>   # Trim away the final trailing spaces
> NO.stdWrap.cObject.trim = 1
> --- cut ---

Outstanding! Does it matter where in the TS I do this?

- jody



More information about the TYPO3-english mailing list