CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #6414

shadowbox with dynamic img-reference in tt_products

Added by thomas over 3 years ago. Updated over 2 years ago.

Status:Needs Feedback Start date:2010-02-09
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Votes: 0

Description

Hello,

we want use the shadowbox in tt_products.
typo3 Vers. 4.2.11
TS-configuration corresponse to the shadowbox-manual.

In tt_products we use products with articles (variants -> the same t-shirt in red, blue and M,L,XL and so on) with seperate image for the different colors. The images are changed accordingly the selection in a <select> with javaScript.

the first call of the listView tt_products works fine:
html-code:
...<a href="uploads/pics/testprod_rot.jpg" rel="lightbox"><img src="typo3temp/pics/testprod_rot_0fa490a0a2.jpg" alt="" title="" height="100" width="100"></a>...
click of that image the shadowbox appears with the great image

After changing to the article e.g.
... <a href="uploads/pics/testprod_blau_01.jpg" rel="lightbox"><img src="typo3temp/pics/testprod_blau_01_2c7da0c658.jpg" width="100" height="100" border="0" alt="" title="" /></a>

In this second case, after click, no shadowbox appears, the image is shown in an new page.

franz holzinger (tt_products) checks this first avoiding a wrong configuration in tt_products to this behavior.

php error_log:
[08-Feb-2010 19:26:29] $theCode = LIST
[08-Feb-2010 19:26:29] $imageRenderObj = listImage
[08-Feb-2010 19:26:29] generateResponse $v: Array
(
[0] => <a href="uploads/pics/testprod_blau_01.jpg" rel="lightbox"><img src="typo3temp/pics/testprod_blau_01_2c7da0c658.jpg" width="100" height="100" border="0" alt="" title="" /></a>
)

[08-Feb-2010 19:26:29] $tagId2: tt-products-articles-list-397-image-1
[08-Feb-2010 19:26:29] $v2: <a href="uploads/pics/testprod_blau_01.jpg" rel="lightbox"><img src="typo3temp/pics/testprod_blau_01_2c7da0c658.jpg" width="100" height="100" border="0" alt="" title="" /></a>

this fitts to the html-rendering.

History

Updated by Stefan Galinski almost 3 years ago

  • Status changed from New to Needs Feedback

Hi Thomas,

Does the problem still appears with the current trunk version of pmkshadowbox and the latest tt_products build? If not, can you try to fix that issue and to create a patch? Neither Peter nor me have a running installation with tt_products to test that specific issue.

Also available in: Atom PDF