css_styled_content and imageTextSplit
|Status:||Needs Feedback||Start date:||2012-05-17|
|Priority:||Should have||Due date:|
After upgrading to 4.7 I ran into something which is probably a bug. imageTextSplit did not work properly.
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
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 (
Thanks for your report!
What's the result? You end up with invalid markup (lacking
Would be nice, if you could elaborate a bit more, how to reproduce this issue.
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.