Bug #37265

css_styled_content and imageTextSplit

Added by terf about 1 year ago. Updated 12 months ago.

Status:Needs Feedback Start date:2012-05-17
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:TypoScript
Target version:-
TYPO3 Version:4.7 Complexity:
PHP Version:5.3
Votes: 0

Description

After upgrading to 4.7 I ran into something which is probably a bug. imageTextSplit did not work properly.

after changing

tt_content.image.20.rendering.globalCaption.allStdWrap.wrap = <div class="csc-textpic-imagewrap"><table>###CAPTION###<tbody> | </tbody></table></div>

which was set from static template css_styled_content to

tt_content.image.20.rendering.globalCaption.allStdWrap.wrap = <div class="csc-textpic-imagewrap"><table>###CAPTION###<tbody><tr><td> | </td></tr></tbody></table></div>

it works again

History

Updated by Steffen Gebert 12 months ago

  • Category set to TypoScript
  • Status changed from New to Needs Feedback
  • Priority changed from Must have to Should have
  • Target version deleted (4.7.1)

Thanks for your report!

What's the result? You end up with invalid markup (lacking <tr><td>)?

Would be nice, if you could elaborate a bit more, how to reproduce this issue.

Thanks
Steffen

Updated by terf 12 months ago

Exactly. The Browser renders the caption in an wrong way without this fix, because he doesn't know how to handle the markup. Firefox puts it under the image but not over the whole width of the image. I am not totally sure if this was introduced in 4.7 but the table-based render in 4.6 didn't show this problem.

I used the text with image content element with two images in two columns side by side and one caption line. Because I need the caption under both of the images I had to set tt_content.image.20.imageTextSplit=0.

Also available in: Atom PDF