[TYPO3-templavoila] RFC: access TV field-values in TS without stdWrap

Dmitry Dulepov typo3 at accio.lv
Sat Sep 2 09:04:00 CEST 2006


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

"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