Hello guys, back again with this issue of virtuemart.
Searching and searching I might found the solution but I need a little help from some one with bigger experience..:
Found 'shadowbox' you can download it from here
http://extensions.joomla.org/extensions/multimedia/multimedia-display/9220After installed and activated the plugin I have made this:
In the override of the productdetail page /templates/gk_esport/html/com_virtuemart/productdetails I replaced this
- Code: Select all
<?php echo str_replace('<a', '<a class="modal"', $this->product->images[0]->displayMediaFull('class="product-image"',true,"class='modal'",true)); ?>
with this
- Code: Select all
<?php echo $this->product->images[0]->displayMediaFull('class="product-image"',true,'rel="shadowbox"',true,true); ?>
Ok now I have shadowbox instead of modal but here is my problem.
How can I change the code of additional images to load all in shadowbox?
I thought at this
- Code: Select all
<?php echo $this->product->images[0]->displayMediaFull('class="product-image"',true,'rel="shadowbox[somefolder]"',true,true); ?>
but is not working...
A little help of anyone who got the ideea wouldn't be so bad:D