Project

General

Profile

Actions

Feature #68990

closed

TCA custom constants PAGE_TSCONFIG_

Added by Nicolas Forgeot over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2015-08-12
Due date:
% Done:

0%

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

Description

We can only use 3 constants in TCA foreign_table_where : PAGE_TSCONFIG_ID, PAGE_TSCONFIG_IDLIST, PAGE_TSCONFIG_STR

Add custom constants could be cool. Two use cases:
- complex where condition
- in the flexforms, the field is always tt_content.pi_flexform

The constant names could be : PAGE_TSCONFIG_CUSTOM_(ID|IDLIST|STR)_constantName

You can show alpha patch 6.2 for this feature : (attachment constant_v0.1.diff)

To do :
- same logique for suggest in TYPO3\CMS\Backend\Form\Element\SuggestElement
- add test
- update documentation


Files

constant_v0.1.diff (2.53 KB) constant_v0.1.diff Nicolas Forgeot, 2015-08-12 15:20
Actions #1

Updated by Alexander Opitz over 9 years ago

  • Category set to DataHandler aka TCEmain
  • Status changed from New to Needs Feedback

Can you please send you patch to Gerrit? http://wiki.typo3.org/CWT

Actions #2

Updated by Alexander Opitz over 8 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF