[TYPO3] GPvar not a string?

Dmitry Dulepov 9f4eetb02 at sneakemail.com
Wed Feb 21 10:34:45 CET 2007


Hi!

Benjamin Todd wrote:
> But I want it to use the variable directly so I don't have to write
> extra TS for ever new template I add to the site. I've tried this and it
> doesn't work:
> 
> TyposScript
> ------------------------------
> [globalVar = GP:design > 0]
> page.10.childTemplate = GPvar : design 
> [global]
> ------------------------------

Yes, TV will see "GPvar : design" string (not value of GPvar) and 
certainly there is no such rendering type :)

> Any help is most appreciated.

There is no help for it. The only thing that you can do is to use 
conditions.

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"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-english mailing list