Feature #36230
Add hooks to css_styled_content render_textpic
| Status: | New | Start date: | 2012-04-17 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| TYPO3 Version: | 4.5 | Complexity: | ||
| PHP Version: | ||||
| Votes: | 0 |
Description
css_styled_content needs hooks to allow a third-party extension (e.g. dam_ttcontent) to add additional data to the image cObj. This way metadata like caption, title or alternative text can be made available for using in frontend rendering.
The current implementation (Hook $TYPO3_CONF_VARS['EXTCONF']['css_styled_content']['pi1_hooks']['render_textpic']) requires overwriting the whole render_textpic method which leads to a lot of duplicate code since the method is ~700 lines of code.