Bug #67858
closedImage caption vs. description FAL element vs. content element
0%
Description
In FAL there is a field "caption" but not in tt_content image. The content element uses field "description" instead of "caption"
For frontend-rendering of imagecaptions you may set it via typoscript:
tt_content.image.20.preRenderRegisters.allImageCaptions.cObject.renderObj.data = file:current:description // file:current:caption tt_content.image.20.caption.1.1.data = file:current:description // file:current:caption
but there should be apossibility to view the imagecaption in the description of the content elements
Regards
Bernhard Giner
Updated by Alexander Opitz over 9 years ago
- Category changed from Image Cropping to Frontend
- Target version changed from 6.2.14 to next-patchlevel
Updated by Riccardo De Contardi about 9 years ago
Also present on 7.6-dev (latest master)
Updated by Mathias Schreiber about 9 years ago
- Target version deleted (
next-patchlevel)
Updated by Riccardo De Contardi almost 9 years ago
- Target version set to Candidate for patchlevel
Updated by Jo Hasenau over 8 years ago
- Status changed from New to Needs Feedback
- Assignee set to Jo Hasenau
Could you please confirm if I got the problem right:
Both, description and caption are different fields of FAL images, which can be rendered in the frontend.
The point now would be to make both visible in the backend as well?
Updated by Bernhard Giner over 8 years ago
Yes, are right.
Not shure, but I believe that it was fixed silently in one of the last versions.
Updated by Hartmut Steglich over 8 years ago
description is part of core - caption is part of filemetadata and only available when this sysext is installed
so this should be checked
nevertheless it would be very useful if caption was present in backend editing forms of tt_content too. otherwise there is no way for the editor to overwrite values coming from FAL.
it is not "fixed silently" until 7.6.4 / 6.2.19
Updated by Hartmut Steglich over 8 years ago
it is not that easy ...
there is no field caption in sys_file_reference that can be used for saving the overwrite text to
details here (in German)
http://blog.marit.ag/2015/06/30/typo3-und-fal-override-felder-in-irre-elementen-aendern/
Updated by Alexander Opitz about 8 years ago
- Status changed from Needs Feedback to New
- Target version deleted (
Candidate for patchlevel)
Updated by Susanne Moog over 4 years ago
- Status changed from New to Closed
This is not actually a bug (also see #59161) - caption is part of the filemetadata extension, which is not a necessary part of the core (which is why we can't by default use that field). The fallbacks work by overlaying the sys_file_reference table over the metadata table where both need to have the same field names for the fallback to work. If you need both caption and description in a project, please use your custom project code to
- extend sys_file_reference with the caption field
- configure TCA with override placeholder from sys_file_metadata
- make sure filemetadata is installed
Additionally, you will probably need to adjust the frontend templates to display the content of the caption field.