[TYPO3-english] Markers for bodytext field

Tapio Markula tapio.markula at xetpoint.fi
Fri Nov 14 19:14:17 CET 2008


Tyler Kraft kirjoitti:
 > Hey Tapio,
 >
 > Look at tsref - try looking at the short property of parseFunc for a 
start, that might do exactly what you want

thanks. tested


tt_content.text.20 {
     parseFunc {
     short{
     FOO = replace this with a text
     }
     }
}

works ok, but there is also constants
but short doesn't seem to accept ###
because they are for marksers

tried them using constants, but


tt_content.text.20 {
     parseFunc {
     constants.FOO = replace this marker with a text
     }
}

didn't work


The toplevel-defined constants

I put in root template - didn't work. Exactly where constanst should be 
defined?


short{
     FOO < temp.complexObject
     }

short{
     FOO < lib.complexObject
     }

seems not work as objects - so no dynamic content possible
( the name of the object was interpret as ordinary string).
So not possible to add dynamic content.


More information about the TYPO3-english mailing list