[TYPO3-templavoila] Different template for list and detail

Jan Bednarik info at bednarik.org
Sun Jan 25 12:02:22 CET 2009


For some reason this condition doesn't work.

> [globalVar = GP:tx_ttproducts_pi1[product] = /^$/]
> # empty
> [else]
> page.10.childTemplate = detail_view
> [global]

This would do the job:

[globalVar = _GET|tx_ttproducts_pi1|product > 0]
...
[global]

found it here: 
http://www.nabble.com/typoscript-check-if-get-variable-is-bigger-than-0-td20790123.html

-- 
Jan Bednarik
www.bednarik.org - web about Typo3 in czech


More information about the TYPO3-project-templavoila mailing list