Project

General

Profile

Actions

Feature #33390

closed

displayCond for sheets in flexforms

Added by Anonymous over 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-01-23
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

would be nice to be able to determine whether a flexform sheet will be display or not via displayCond. This currently only works for fields and is checking for field values is limited to those of the same sheet.

just like accessing the values of fields from the same sheet for a field:

<displayCond>FIELD:view:=:list</displayCond>

or fields of the tt_content record:

<displayCond>FIELD:parentRec.fieldXYZ:=:valueXYZ</displayCond>

there should be a possibility to check on specific fields of specific sheets for sheets:

<displayCond>FIELD:sDEF.view:=:list</displayCond>

the attached patch file is just a little hack to demonstrate the feature. it covers scenarios like:

<sDEF>
    ...
</sDEF
<sheet1>
    <ROOT>
        <TCEforms>
            <sheetTitle>My optional Sheet</sheetTitle>
            <displayCond>FIELD:sDEF.view:=:list</displayCond>
        </TCEforms>
        <el>
            ...


Files

patch (1.06 KB) patch Anonymous, 2012-01-23 16:07
flexform_ds.xml (4.32 KB) flexform_ds.xml tt_news flexform Anonymous, 2012-01-24 17:12
displayCond_for_sheets_in_flexforms.patch (1.09 KB) displayCond_for_sheets_in_flexforms.patch Sebastijan , 2012-04-08 19:53

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #68493: DisplayCond for sheets in flexforms should allow extbase parameters "settings."ClosedBenjamin Serfhos2015-07-23

Actions
Actions

Also available in: Atom PDF