Project

General

Profile

Actions

Bug #67858

closed

Image caption vs. description FAL element vs. content element

Added by Bernhard Giner over 9 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Frontend
Target version:
-
Start date:
2015-06-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #59161: Metadata and File Reference inconsitencyClosed2014-05-28

Actions
Actions #1

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
Actions #2

Updated by Riccardo De Contardi about 9 years ago

Also present on 7.6-dev (latest master)

Actions #3

Updated by Mathias Schreiber about 9 years ago

  • Target version deleted (next-patchlevel)
Actions #4

Updated by Riccardo De Contardi almost 9 years ago

  • Target version set to Candidate for patchlevel
Actions #5

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?

Actions #6

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.

Actions #7

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

Actions #8

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/

Actions #9

Updated by Alexander Opitz about 8 years ago

  • Status changed from Needs Feedback to New
  • Target version deleted (Candidate for patchlevel)
Actions #10

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.

Actions

Also available in: Atom PDF