Project

General

Profile

Actions

Bug #59713

closed

TSCONFIG Flexform modifications on Models (non tt_content)

Added by Hendrik Reimers about 10 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2014-06-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

It seems theres a bug with the TSCONFIG flexform features to change configuration (like disabling a field).

On tt_content flexforms you can do:
TCEFORM.tt_content.pi_flexform.my_plugin.sDEF.myfield.disabled = 1

But if you have not a plugin just a data entry (like a extbase model) with flexforms included this doesn't work:

TCEFORM.tx_myext_domain_model_table.pi_flexform.sDEF.associatedCompany.disabled = 1
(in this case "pi_flexform" is the TCA configured field that includes the flexform functionality)

but if you do the following (with the UID of the entry) it works...
TCEFORM.tx_myext_domain_model_table.123.pi_flexform.sDEF.associatedCompany.disabled = 1

Sooo... the problem is that it works for single entries but not "globally" for all entries of a table.

Actions

Also available in: Atom PDF