[TYPO3-english] Markers for bodytext field

Tapio Markula tapio.markula at xetpoint.fi
Fri Nov 14 15:29:15 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
     }

should work too - then possible to always anything and add for example 
some plugin info like some CMS do with [something] style markers?


More information about the TYPO3-english mailing list