[TYPO3-mvc] Flexform Display Condition for switchableControllerActions

Bjoern Haverland mrwhy at arcor.de
Sun Jun 30 16:00:30 CEST 2013


Hi,

i think you should try it this way. It is working for me.

<![CDATA[FIELD:switchableControllerActions:=:Frontend->list;Frontend->itemDetails]]>


Best regards

Björn



Am 30.06.2013 10:34, schrieb Frans Saris:
> Hi Stefan,
>
> What version of typo3 are you using?
>
> You can use the condition to hide/show sheets. Maby you can post some more
> of the flexform then it's easyer to assist?
>
> When you use te value of an other sheet you have to use the complete value
> path, sheet.value_key
>
> Gr. Frans
> Op 30 jun. 2013 00:44 schreef "Daniel Siepmann"<daniel.siepmann at typo3.org>
> het volgende:
>
>> Hello Stefan,
>>
>> here is an example on Github: https://gist.github.com/pogosheep/5892990
>> There you can find an example for the condition:
>>
>>
>> <displayCond>FIELD:switchableControllerActions:=:Product->details</displayCond>
>>
>> This worked for me, So perhaps the code around is wrong or there is a
>> bug. In this case, which TYPO3 do you use? My example works for 4.7.
>> As you can see in the example you can even write displayCond for whole
>> sheets inside<TCEforms>
>>
>>
>> --
>> Daniel Siepmann
>> TYPO3 Editorial Team Co-Leader
>>
>> TYPO3 .... inspiring people to share!
>> Get involved: typo3.org
>>
>>
>> On Thu, May 30, 2013 at 10:50 AM, Stefan Kruse<besucher80 at gmx.de>  wrote:
>>> Hi,
>>>
>>>
>>>
>>> i would like to use a display condition for switchableControllerAction. I
>>> try this:
>>>
>>>
>>>
>>>
>> <displayCond>FIELD:switchableControllerActions:=:Product->details</displayCo
>>> nd>
>>>
>>>
>>>
>>> But that doesn't work. IS there a bug or something what I missed?
>>>
>>>
>>>
>>> By the way. Is there a way to use displayCond for complete sheets? To
>> hide a
>>> complete sheet when its not needed?
>>>
>>>
>>>
>>> Thanks and regards Stefan
>>>
>>> _______________________________________________
>>> TYPO3-project-typo3v4mvc mailing list
>>> TYPO3-project-typo3v4mvc at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>> _______________________________________________
>> TYPO3-project-typo3v4mvc mailing list
>> TYPO3-project-typo3v4mvc at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>



More information about the TYPO3-project-typo3v4mvc mailing list