Project

General

Profile

Actions

Bug #15907

closed

Caption Split doesn't work with default setup for IMGTEXT objects according to TSref

Added by JoH over 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Must have
Category:
Communication
Target version:
-
Start date:
2006-03-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Using captionSplit in 4.0 seems to be completely moved from the original Parameter to the caption Parameter. Thus removing the whole funcitonality of captionSplit for sites that re not using CSS-styled-content but simple individual setups of IMGTEXT.

Try this code snippet in 3.8.1 and 4.0rc2:

tt_content = CASE
tt_content {
key.field = CType
textpic = COA
textpic {
10 = TEXT
10.field = header
10.wrap = <h3>|</h3>
20 = IMGTEXT
20 {
imgList.field = image
imgPath = uploads/pics/
1 {
file.import.current = 1
}
captionSplit = 1
captionSplit.cObject = TEXT
captionSplit.cObject.field = imagecaption
}
}
}

page = PAGE
page.10 = CONTENT
page.10 {
table = tt_content
}

While 3.8.1 will show you nicely splitted captions, 4.0 doesn't show anything.

Setting caption in addition to captionSplit will give you the captions back in 4.0 but as a whole block of all captions under each image, unless you setup a split function that does the job which was supposed to be done by captionSplit.

Since this split function is neither documented nor the default of IMGTEXT objects, this will be a blocker for all sites using captionSplit without CSS-styled-content.

I will dive deeper into IMGTEXT the next days to find out if there are other issues ...

Joey
(issue imported from #M3005)


Files

typo3-4.0-captionSplit.diff (2.01 KB) typo3-4.0-captionSplit.diff Administrator Admin, 2006-04-12 12:53
Actions

Also available in: Atom PDF