Project

General

Profile

Actions

Feature #16586

closed

displayCond for flexforms, that affects on row of element

Added by Marc Bastian Heinrichs over 17 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-09-22
Due date:
% Done:

0%

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

Description

An displayCond in flexform affects only on FIELDS of the same hierarchy-level in xml-definion.
Would be nice to have an displayCond that affects also on the classical way for flexform.

For example :
<displayCond>FIELD:colPos:=:0</displayCond>
shows the ff-element only, if the ce is in main-content-col.

(issue imported from #M4270)


Files

t3lib_tceforms.php-4270.diff (1.76 KB) t3lib_tceforms.php-4270.diff Administrator Admin, 2009-05-30 16:46
t3lib_tceforms.php-4270-2.diff (1.54 KB) t3lib_tceforms.php-4270-2.diff Administrator Admin, 2009-05-30 17:14
4270_v5.diff (1.52 KB) 4270_v5.diff Administrator Admin, 2009-08-08 18:21
Actions #1

Updated by Tolleiv Nietsch almost 15 years ago

I've attached a patch (second file is relevant) which enables to use the parent-record fields with the prefix "parentRec."

a example (flex) displayCond could look like <displayCond>FIELD:parentRec.header:REQ:true</displayCond>

once PHP 5.3 is base-requirement for TYPO3 it should be easy to use a real Lambda-function instead of create_function

Actions #2

Updated by Andreas Otto † over 14 years ago

The file 4270_v5.diff contains modifications of the patch posted as 4270_v4.diff by Rupert German on the TYPO3 core mailinglist.

Actions #3

Updated by Andreas Otto † over 14 years ago

Committed to trunk, revision 5769.

Actions #4

Updated by Andreas Otto † over 14 years ago

Change has patch.

Actions

Also available in: Atom PDF