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

ben van 't ende ben.vantende at typo3.org
Tue Jan 18 12:11:27 CET 2011


No brainer and a nice improvement. +1

gRTz

ben



On 09/12/10 14:19, Lorenz Ulrich wrote:
> 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


-- 
TYPO3 Community Manager


More information about the TYPO3-team-dam mailing list