Issue Bug Closed

#80609imagecaption_position is used by css_styled_content and must be in Core!

Leonie Philine 03/31/17, 16:43 updated 10/02/18, 11:00

Description

Hi!

It is stated in:
typo3_src (7.6 LTS)/typo3/sysext/core/Documentation/Changelog/7.2/Breaking-65922-MoveUnusedTt_contentTcaFieldsToCompatibility6.rst

that:

>
> There are some database fields defined in ‘frontend’ which are not used by `frontend` or `css_styled_content`. These fields have been moved to `compatibility6`.
>
> – altText
> – imagecaption
> – imagecaption_position
> – image_link
> – longdescURL
> – titleText
>

This is wrong. At least imagecaption_position – possibly also other fields, but that I did not test – **are indeed used by css_styled_content!**
Therefore, this field must be migrated back into the core. To use current functionality (as captionAlign), it is madness to use a compatibility extension.

See also: \TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController::render_textpic() , Ctrl+F for ‘captionAlign’, and
(7.6 LTS) typo3_src/typo3/sysext/css_styled_content/static/setup.txt:795

imagecaption_position is also used as css_styled_content imageblock palette in: typo3_src/typo3/sysext/css_styled_content/Configuration/TCA/Overrides/tt_content.php:431

Reviews 1