[TYPO3] Typo deleting html template content
Christopher
bedlamhotel at gmail.com
Tue Jan 31 23:48:56 CET 2006
On 1/31/06, Peter Klein <peter at umloud.dk> wrote:
> 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 ---
Clever ;-)
-Christopher
More information about the TYPO3-english
mailing list