Bug #25764
rzcolorbox messes ups images with links
| Status: | Closed | Start date: | 2011-04-05 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | Raphael Zschorsch | % Done: | 100% |
|
| Category: | Frontend | Spent time: | 0.50 hour | |
| Target version: | - | Estimated time: | 0.50 hour | |
| Branch: | v4 | |||
| Votes: | 1 (View) |
Description
Hi
I have on 2 different TYPO3 4.5.2 sites Rzcolorbox 1.3.4 with a lib for example
lib.social_icons = RECORDS lib.social_icons.tables = tt_content lib.social_icons.source = 125
On content element 125 are 5 images with links
The HTML source code with rzcolorbox gets messed up :
<div class="csc-textpic csc-textpic-center csc-textpic-above">
<div class="csc-textpic-imagewrap" style="width:120px;">
<ul>
<li class="csc-textpic-image csc-textpic-firstcol" style="width:16px;">
<a href="http://twitter.com/jaccovanderpost http://nl.linkedin.com/in/jaccovanderpost http://www.training-typo3.com/ skype:Jacco.van.der.Post?call http://www.typo3-webdesign.nl/nieuws/rss.xml" target="_blank" title="Volg ons op Twitter">
<img src="uploads/pics/twitter_16.png" width="16" height="16" border="0" alt="Volg ons op Twitter" /></a>
</li>
<li class="csc-textpic-image" style="width:16px;">
<a href="uploads/pics/linkedin_16.png" title="Bezoek LinkedIn" class="rzcolorbox" rel="rzcolorbox[cb235]">
<img src="uploads/pics/linkedin_16.png" width="16" height="16" border="0" alt="Bezoek LinkedIn" /></a>
</li>
<li class="csc-textpic-image" style="width:16px;">
<a href="uploads/pics/wordpress_16.png" title="Bezoek de blog" class="rzcolorbox" rel="rzcolorbox[cb235]">
<img src="uploads/pics/wordpress_16.png" width="16" height="16" border="0" alt="Bezoek de blog" /></a>
</li>
<li class="csc-textpic-image" style="width:16px;">
<a href="uploads/pics/skype_16.png" title="Bel via Skype" class="rzcolorbox" rel="rzcolorbox[cb235]">
<img src="uploads/pics/skype_16.png" width="16" height="16" border="0" alt="Bel via Skype" /></a>
</li>
<li class="csc-textpic-image csc-textpic-lastcol" style="width:16px;">
<a href="uploads/pics/rss_16.png" title="RSS Feed" class="rzcolorbox" rel="rzcolorbox[cb235]">
<img src="uploads/pics/rss_16.png" width="16" height="16" border="0" alt="RSS Feed" /></a>
</li>
</ul>
</div>
</div>
When I deinstall rzcolorbox the source is good.
Associated revisions
History
Updated by Jacco van der Post about 2 years ago
To be clear.. rzcolorbox should not be used in this content element, neither is click enlarge images enabled on this content element.
Updated by Jacco van der Post about 2 years ago
- Assignee set to Raphael Zschorsch
Found a fix :
If TYPO3 version is 4.5 or higher this typoscript setting needs to be added :
listNum.splitChar = 10
This is due to the new TYPO3 image link handling with line breaks instead of a comma's.
So for example in ext/rzcolorbox/static/style4/setup.txt
tt_content.image.20.1.imageLinkWrap {
typolink >
typolink {
parameter.cObject = IMG_RESOURCE
parameter.cObject.file {
import.current = 1
#height = {$styles.content.imgtext.maxH}
#effects = {$styles.content.imgtext.linkWrap.effects}
}
parameter.override {
field = image_link
listNum.splitChar = 10
listNum.stdWrap.data = register : IMAGE_NUM_CURRENT
}
ATagParams = class="{$plugin.rzcolorbox.rel}" rel="{$plugin.rzcolorbox.rel}[cb{field:uid}]"
ATagParams.insertData = 1
ATagParams.if.isFalse < .parameter.override
target = {$styles.content.links.target}
extTarget = {$styles.content.links.extTarget}
}
}
I would add a condition on TYPO3 version.
Updated by Raphael Zschorsch about 2 years ago
- Category set to Frontend
- Status changed from New to Accepted
- Estimated time set to 0.50
- Branch set to v4
Updated by Raphael Zschorsch almost 2 years ago
- Status changed from Accepted to Closed