JoomShopping Template Product Zoom - зум эффект для джумшоппинг с помощью модуля
Magic Zoom Plus for Joomla
PHP
Файл
view.html.php путь components\com_jshopping\views\product
Примерно 40 строка
| Код: |
<a class="lightbox" id="main_image_full_<?php print $image->image_id?>" href="<?php print $this->image_product_path?>/<?php print $image->image_full;?>" <?php if ($image->image_full!=$this->product->product_full_image){?>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($this->product->name)?>" />
</a>
|
Заменить на:
| Код: |
<?php if ($k == "0") : ?>
<a class="MagicZoom" id="Zoomer" rel="selectors-change: mouseover; selectors-effect: fade" title="<?php print htmlspecialchars($this->product->name)?>" href="<?php print $this->image_product_path?>/<?php print $image->image_full;?>">
<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($this->product->name)?>" />
</a>
<?php endif; ?>
|
Еще
| Код: |
<img class = "jshop_img_thumb" src = "<?php print $this->image_product_path?>/<?php print $image->image_thumb?>" alt = "<?php print htmlspecialchars($this->product->name)?>" onclick = "showImage(<?php print $image->image_id?>)" /><br />
|
Заменит на:
| Код: |
<a href="<?php print $this->image_product_path?>/<?php print $image->image_full;?>" rel="zoom-id:Zoomer;" rev="<?php print $this->image_product_path?>/<?php print $image->image_name;?>" title="<?php print htmlspecialchars($this->product->name)?>">
<img class = "jshop_img_thumb_zoomer" src = "<?php print $this->image_product_path?>/<?php print $image->image_thumb?>" alt = "<?php print htmlspecialchars($this->product->name)?>" />
</a><br />
|
Скачать Magic Zoom Plus for Joomla
Господа опытные программисты, подскажите пож, правильное решение ?
