--- Original Nachricht ---
Absender: Fernando Arconada
Datum: 20.12.2009 19:27:
Hello
I'm trying to write a template like this
page.5 = LOAD_REGISTER
page.5.something=1
[globalVar = TSFE:register|something=1]
#....
[global]
But this contion is never fired. I've tried to debug a bit and I found
that when the condition is evaluated at
class.t3lib_matchcondition_frontend.php
the array $GLOBALS['TSFE']->register only have the entry SYS_LASTCHANGED
at the end of pagegen.php file it is set ok
Are there any kind of problem with my code or with matchcondition code?
Kind regards
Fernando Arconada
It should fire. May be there is an other error in your typoscript. Is
the condition outside any block?
Perhaps
[globalVar = LIT:1 = {$constant_to_turnSomethingOn}]
might help as I'm using this to switch on/off/include items in templates
Peter.
--
loans that change lives http://www.kiva.org
_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english