[TYPO3-english] Condition mapping values
Nesto
facckerr at alibaba.yo
Sat Sep 5 00:10:56 CEST 2009
Hi. This is my TS code:
catUID = TEXT
catUID.value = {register:newsCategoryUid}
catUID.insertData = 1
So, i'm getting news category UID and storing it in catUID var. Now, what i
want to do is this:
if ($catUID = 1) $PID = 20;
if ($catUID = 2) $PID = 24;
if ($catUID = 3) $PID = 26;
...... etc....
Basicly i need to map those catUIDs to PIDs. Is this possible to do?
Thank you for help!
More information about the TYPO3-english
mailing list