[TYPO3-templavoila] RFC: access TV field-values in TS without stdWrap
Martin Klaus
klausm at in.tum.de
Sat Sep 2 16:29:43 CEST 2006
Hi Dmitry,
I understand your concerns, but even the default Template TS-parsing from
t3lib/class.t3lib_tstemplate.php
does this type of TypoScript preprocessing to merge the Constants with the
Setup code.
This is not even possible with TV's TypoScript-parsing.
So i think, the Typoscript Implementation as it works now in Templavoila is
different from the TS-processing
in the rest of the system.
just my 2cents ;)
Martin
"Dmitry Dulepov" <typo3 at accio.lv> schrieb im Newsbeitrag
news:mailman.1.1157180594.27757.typo3-project-templavoila at lists.netfielders.de...
> Hi!
>
> Martin Klaus wrote:
>> It's a nice thing in TV to be able to access the current field values
>> from Typoscript with stdWrap: "stdWrap.field = <some_TV_field>"
>>
>> The drawback of this solution is, that it only works for TS-Objects wich
>> have
>> stdWrap Properties.
>>
>> It would be very helpful to have a placeholder like "{$<some_TV_field>}"
>> inside the <typoscript/>-Tags wich will be replaced with the current
>> field-value before executing the Typoscript code in class
>> "tx_templavoila_pi1".
>>
>> What do you think about this idea?
>
> As a user I like the idea but as developer - do not. TV uses typo3's
> parser for typoscript. To implement this substitution TV will have to
> implement a preprocessor. This will make TV very different in TS
> processing from the rest of the system.
>
> --
> Dmitry Dulepov
> http://typo3bloke.net/
>
> "It is our choices, that show what we truly are,
> far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-project-templavoila
mailing list