[TYPO3-english] One more condition problem
Pero Matic
pero at matic.com
Sun Sep 6 23:33:15 CEST 2009
Hi. I have this piece of TS:
210 = COA
210.10 < plugin.tt_news
210.10.code = MOST_POPULAR
210.10.singlePid = 3
Now, what i want to do is to check wheter news category uid is equal to some
value and if true then to assign some other value to singlePid for example
7. So, something like this:
catUID = TEXT
catUID.value = {register:newsCategoryUid}
catUID.insertData = 1
210 = COA
210.10 < plugin.tt_news
210.10.code = MOST_POPULAR
210.10.singlePid = 3
if catUID = 54 then
210.10.singlePid = 7
or better
if catUID is in list (54, 56, 57,60, etc...) then
210.10.singlePid = 7
Any help is appreciated! Thx.
More information about the TYPO3-english
mailing list