Hi Indira,
your code looks good. Did you test the last condition alone?
[globalVar = TSFE:fe_user|sesData|reseller|is_subaccount > 0]

cheers
Dirk

Am 17.12.13 23:07, schrieb Indira:
Hi guys:
I have three conditions to hide pages from the main menu according to
session variables.
However, they don't work, it's showing me the pages I want to hide.
Before I only had two scenarios so with [condition] [else] [global] I
was fine. But then a third case appear.

This is my code:
[globalVar = TSFE:fe_user|sesData|reseller|is_reseller > 0]
      lib.mainmenu.excludeUidList = 77,166
[end]

[globalVar = TSFE:fe_user|sesData|reseller|is_reseller = 0] &&
[globalVar = TSFE:fe_user|sesData|reseller|is_subaccount = 0]
      lib.mainmenu.excludeUidList = 158,165,166
[end]

[globalVar = TSFE:fe_user|sesData|reseller|is_reseller = 0] &&
[globalVar = TSFE:fe_user|sesData|reseller|is_subaccount > 0]
      lib.mainmenu.excludeUidList = 157,68,158,165,166
[end]

Thanks in advanced for you help,
Indira.
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to