Project

General

Profile

Actions

Bug #59713

closed

TSCONFIG Flexform modifications on Models (non tt_content)

Added by Hendrik Reimers almost 10 years ago. Updated over 6 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 #1

Updated by Mathias Schreiber about 9 years ago

  • Category set to FormEngine aka TCEforms
  • Target version changed from next-patchlevel to 7.4 (Backend)
Actions #2

Updated by Susanne Moog over 8 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #3

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #4

Updated by Mathias Schreiber over 8 years ago

  • Status changed from New to Resolved

Fixed on master.
Please keep in mind that you need to add the field contraint to the TSConfig.
Example from EXT:styleguide
TCEFORM.tx_styleguide_forms.flex_1.default.sDEF.input_1.disabled = 1

Actions #5

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF