Missing Product Title in Lightbox image (full screen)

21.09.2013 12:02
#1
J.
Joomshopping forum user no avatar
Name: Radik
22.03.2011
Posts: 27
Quote
Missing Product Title in Lightbox image (full screen)

If you click on "zoom" under produkct detail image, it is open (usually) in lightbox, but under image there is no title od that image...
It is common to have displayed title (name of product) under image (in lightbox detail view).
Where to change this? thanks
Missing Product Title in Lightbox image (full screen)


Joomla: 2.5.14
JoomShopping: 3.15.3
PHP: 5.3
MySQL: 5.5

Letzte Änderung: 21.09.2013 12:03
 
21.09.2013 12:35
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
Aw: Missing Product Title in Lightbox image (full screen)

components\com_jshopping\templates\default\product\product_default.php

Add
title="<?php print htmlspecialchars($image->_title)?>"

code
<?php foreach($this->images as $k=>$image){?>
<a class="lightbox" title="<?php print htmlspecialchars($image->_title)?>" id="main_image_full_<?php print $image->image_id?>" href="<?php print $this->image_product_path?>/<?php print $image->image_full;?>" <?php if ($k!=0){?>style="display:none"<?php }?>>
<img id = "main_image_<?php print $image->image_id?>" src = "<?php print $this->image_product_path?>/<?php print $image->image_name;?>" alt="<?php print htmlspecialchars($image->_title)?>" title="<?php print htmlspecialchars($image->_title)?>" />
<div class="text_zoom">
<img src="<?php print $this->path_to_image?>search.png" alt="zoom" /> <?php print _JSHOP_ZOOM_IMAGE?>
</div>
</a>
<?php }?>

 
22.09.2013 06:16
#3
J.
Joomshopping forum user no avatar
Name: Radik
22.03.2011
Posts: 27
Quote
Aw: Missing Product Title in Lightbox image (full screen)

Works fine for main image (of product), thanks. But if you add atribute(-s) (to that product), an you change photo (for that atribute), you have not an title in lightbox fullscreen image. Where to change this? Thanks


Letzte Änderung: 22.09.2013 06:25
 
22.09.2013 09:38
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
Aw: Missing Product Title in Lightbox image (full screen)

function.js

 
22.09.2013 10:09
#5
J.
Joomshopping forum user no avatar
Name: Radik
22.03.2011
Posts: 27
Quote
Aw: Missing Product Title in Lightbox image (full screen)

Thanks, but there (in functions.js file) is not any string to use for title - is missing (as was not for main image in php file). Can you please give detailed instructions, or fix this functions.js file and give a link for that (fixed) file? It will be great to fix it aslo for next version of JoomShopping. Thanks.


Letzte Änderung: 22.09.2013 10:10
 
22.09.2013 16:53
#6
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
Aw: Missing Product Title in Lightbox image (full screen)

Sorry. There's no easy solutions.

 
Copyrights MAXXmarketing GmbH. All Rights Reserved