Task #74311
closedEXT:form - Optimize label_alt in edit document view
0%
Description
Right now the bodytext field is displayed as headline. This should be optimized.
Files
Updated by Björn Jacob over 8 years ago
Updated by Björn Jacob over 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.
Updated by Ralf Zimmermann almost 8 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?
Updated by Björn Jacob almost 8 years ago
- Status changed from Needs Feedback to Rejected
Yes, we do not need it anymore. Closed.