[TYPO3-dev] TypoScript conditions don't work (Powermail)

Stefan Frömken firma at sfroemken.de
Fri Jun 18 13:49:13 CEST 2010


Hello list,

I need somebody who can help me with TypoScript and conditions. For 
testing I inserted some page.x.

The problem is that my testing page.x are not viewed in frontend. So no 
receiver_mail will be set and my conditions don't work.

Any idea why?

uid41 is a checkbox-Array so I have add item 9 into my definition.

# English AND I am AND Webmaster
[globalVar = TSFE:fe_user|sesData|powermail_172|uid40 != 0] && 
[globalVar = TSFE:fe_user|sesData|powermail_172|uid41|9 = ]
page.10 = TEXT
page.10.value = EN, Webmaster
plugin.tx_powermail_pi1.dynamicTyposcript.receiver_email.10 = TEXT
plugin.tx_powermail_pi1.dynamicTyposcript.receiver_email.10.value = {$MAIL2}
plugin.tx_powermail_pi1.dynamicTyposcript.receiver_email.10.wrap = |,

# English AND I am AND not Webmaster
[globalVar = TSFE:fe_user|sesData|powermail_172|uid40 != 0] && 
[globalVar = TSFE:fe_user|sesData|powermail_172|uid41|9 != ]
page.20 = TEXT
page.20.value = EN, NOT Webmaster
plugin.tx_powermail_pi1.dynamicTyposcript.receiver_email.20 = TEXT
plugin.tx_powermail_pi1.dynamicTyposcript.receiver_email.20.value = {$MAIL4}
plugin.tx_powermail_pi1.dynamicTyposcript.receiver_email.20.wrap = |,
[global]




More information about the TYPO3-dev mailing list