Project

General

Profile

Actions

Task #74311

closed

EXT:form - Optimize label_alt in edit document view

Added by Björn Jacob about 8 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
Category:
Form Framework
Target version:
-
Start date:
2016-03-05
Due date:
% Done:

0%

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

Description

Right now the bodytext field is displayed as headline. This should be optimized.


Files

74311.png (121 KB) 74311.png Björn Jacob, 2016-03-05 11:19
Actions #1

Updated by Björn Jacob about 8 years ago

Actions #2

Updated by Björn Jacob about 8 years ago

  • Status changed from New to On Hold

Right now the only way to manipultate the label of the edit document controller is by using $GLOBALS['TCA']['tt_content']['ctrl']['label_userFunc']. This is quite fishy and very inflexible, since it is evaluated for all tt_content elements. This could be handled by an early return

if ($params['row']['CType'] !== 'mailform') {
    return;
}

Strangly, the condition is not evaluated correctly. The accessible parameters contain quite a bunch of arrays. Not only the current tt_content element is available, even all of the other elements on the page. This should be optimized at first for a better performance.

Actions #3

Updated by Ralf Zimmermann over 7 years ago

  • Status changed from On Hold to Needs Feedback
  • Assignee set to Björn Jacob

Since the new ext:form version works in a different way and don't add content into the bodytext field this issue can be closed, right?

Actions #4

Updated by Björn Jacob about 7 years ago

  • Status changed from Needs Feedback to Rejected

Yes, we do not need it anymore. Closed.

Actions

Also available in: Atom PDF