[TYPO3-english] TYPO3 6.2.x: if.isInList not working as expected
Helmut Hummel
helmut.hummel at typo3.org
Mon Sep 19 00:18:51 CEST 2016
Bert Hiddink [BENDOO e-work solutions] wrote:
> Hello,
>
> I have a problem with if.isInList-statement
>
> ...
> renderObj.wrap.override.if {
> isInList.field = uid
> value.data = GP:tx_news_pi1|overwriteDemand|categories
> }
> ...
>
> The override-statement turns true if I send fe from the browser
> "tx_news_pi1[overwriteDemand][categories]=1935".
>
> If I send multiple values like this
> "&tx_news_pi1[overwriteDemand][categories]=1935,1923,9345" then it NEVER
> turns true.
page.1 = TEXT
page.1.value = Value
page.1.override = Override
page.1.override.if.isInList = 1935
page.1.override.if.value.data = GP:tx_news_pi1|overwriteDemand|categories
This prints out "Override" for
tx_news_pi1[overwriteDemand][categories]=1935 and
tx_news_pi1[overwriteDemand][categories]=1935,1923,9345
in my TYPO3 6.2
Maybe your error is not the isInList condition, but nested more deeply
in your TypoScript?
Kind regards,
Helmut
--
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 CMS Active Contributor, TYPO3 Security Team Member
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-english
mailing list