Project

General

Profile

Actions

Bug #83264

closed

Filter for insert record types does not work

Added by Christoph Lehmann almost 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Start date:
2017-12-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

It either works with

TCEFORM.tt_content.records.config.allowed = tt_content (to only allow normal content elements)

nor with

$GLOBALS['TCA']['tt_content']['columns']['records']['config']['allowed'] = 'pages,tt_content,tx_news_domain_model_news';

in typo3conf/ext/site_ext/Configuration/TCA/Overrides/tt_content.php

im combination with correct dependencies in ext_emconf.php

Actions #2

Updated by Susanne Moog almost 7 years ago

  • Category set to FormEngine aka TCEforms
  • Target version set to next-patchlevel
  • Is Regression set to Yes
Actions #3

Updated by Benni Mack over 5 years ago

  • Target version changed from next-patchlevel to Candidate for patchlevel
Actions #4

Updated by Georg Ringer over 4 years ago

  • Status changed from New to Needs Feedback

can you recheck this in latest versions?

$GLOBALS['TCA']['tt_content']['columns']['records']['config']['allowed']
works fine for me but watch out that your site ext is loaded last (check order in PackageStates.php.

the tsconfig option is IMO nowhere documented and does not work, the allowed fields which are overideable are documented in

    protected static $allowOverrideMatrix = [
        'input' => ['size', 'max', 'readOnly'],
        'text' => ['cols', 'rows', 'wrap', 'max', 'readOnly'],
        'check' => ['cols', 'readOnly'],
        'select' => ['size', 'autoSizeMax', 'maxitems', 'minitems', 'readOnly', 'treeConfig'],
        'group' => ['size', 'autoSizeMax', 'max_size', 'maxitems', 'minitems', 'readOnly'],
        'inline' => ['appearance', 'behaviour', 'foreign_label', 'foreign_selector', 'foreign_unique', 'maxitems', 'minitems', 'size', 'autoSizeMax', 'symmetric_label', 'readOnly'],
        'imageManipulation' => ['ratios', 'cropVariants']
    ];

in \TYPO3\CMS\Backend\Form\Utility\FormEngineUtility
Actions #5

Updated by Georg Ringer over 4 years ago

  • Status changed from Needs Feedback to Closed

closing this because lack of feedback. Feel free to ping me on slack if still valid for you

Actions

Also available in: Atom PDF