[TYPO3-english] Markers for bodytext field
Tyler Kraft
tyler.kraft at netefficiency.co.uk
Fri Nov 14 20:12:48 CET 2008
write your own little parseFunc str_replace then...
Tapio Markula wrote:
> 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