[TYPO3] TS override with userFunc
Pankaj Lele
pankaj at lelesys.com
Sun Aug 24 09:51:12 CEST 2008
Dear All,
I know from TSRef there is a possiblity of handling some complex
conditions using "[userFunc = user_mycondition(param)]" syntax. So I can
have my own PHP function where i can do all the complex work to decide
the TRUE or FALSE. But what I would like to do is to manipulate an
object from TS setup with this function.
e.g. what i need is as follows:
lib.myObj = TEXT
lib.myObj.value = Test me
[userFunc = user_mycondition(param)]
#somehow the lib.myObj should be overridden here.
[end]
#here i get new value of lib.myObj
Will it be possible with userFunc or any other idea using some hooks?
Thanks in advance!
--
Pankaj Lele
Technical Director, Lelesys
Web: http://www.lelesys.com
Phone: +91 20 32900403
Mobile: +91 9822534255
More information about the TYPO3-english
mailing list