Issue Bug Closed

#59713TSCONFIG Flexform modifications on Models (non tt_content)

Hendrik Reimers 06/20/14, 14:54 updated 10/21/17, 17:45

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.