[TYPO3-dam-devel] RFC #8395: dam_ttcontent: captionsplit does not work

Lorenz Ulrich lorenz-typo3 at visol.ch
Thu Dec 9 14:19:24 CET 2010


Hi everyone :)!

This is an SVN patch request.

Type: bugfix

BT reference: http://bugs.typo3.org/view.php?id=8395

Problem:
In the standard Typoscript config of dam_ttcontent there is no caption 
split if captions for images are taken from DAM metadata.

Solution:
The configuration should respect the setting in the constants editor 
"Images, caption: If this is checked, then each image will get a caption 
from DAM meta data."

So the patch makes it work like this:
If "styles.content.imgtext.captionEach = 1" (default behaviour), 
captions will be taken from DAM meta data, one line per image.
If "styles.content.imgtext.captionEach = 0" (can be changed in the 
constants editor), captions will be taken from Caption field in the CE, 
one line per image.

At this occasion I removed
br = 1
fontTag = <p class="csc-caption">|
This is neither necessary (you can add styles to the dd) nor standard 
CSC behaviour.


Best regards,


Lorenz
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 8395.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-dam/attachments/20101209/15034100/attachment.txt>


More information about the TYPO3-team-dam mailing list