Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Zoom Effect(SKU# FLEX-00005)

TOPIC: I had to update template and lose the code

I had to update template and lose the code 10 years 3 months ago #8218

Hi
The last time you helped me with default.php file, for to insert the code <?php echo $this->loadTemplate('images');?>.
I didn't know how to identify the original load code for to delete it.
Now I need your help again. Maybe would be better to know what I have to do for the next time.
My site is www.miraelmuro.cl/productos/afiches-acad%C3%A9micos/sistema-solar-detail.html and I need to zoom the product imagen in it.
Thanks!
The topic has been locked.

I had to update template and lose the code 10 years 3 months ago #8233

Okay, follow my steps and learn how to make this customization by yourself:

Open this PHP file in your server:
www.miraelmuro.cl/templates/gk_storebox/html/com_virtuemart/productdetails/default.php

Look for these lines:
 
<div class="main-image">
    ... something .... 
    ... There are also some PHP lines in here ....
    ... something ....
</div>
 

Remove the "main-image" DIV tag completely, and replace it with this:
<?php echo $this->loadTemplate('images');?>

But be carefull while removing the <div class="main-image">. Make sure you keep removing until you see the </div> tag which is to close the <div class="main-image"> tag

Try it by yourself. BUT!! BACK UP THE default.php FIRST!
If you can't able to do it by yourself ,email me your default.php to This email address is being protected from spambots. You need JavaScript enabled to view it. and let me do this modification for you.

b]While emailing to This email address is being protected from spambots. You need JavaScript enabled to view it.
Don't forget to include this forum topic's URL at the of your message as reference to avoid possible confusion in our end.[/b]

Regards,
Support
Last Edit: 10 years 3 months ago by Support.
The topic has been locked.

I had to update template and lose the code 10 years 3 months ago #8255

Thanks!! I had to delete:

<div class="main-image">

<?php
echo $image->displayMediaFull("",true,"rel='vm-additional-images'");
?>

<div class="product-overlay"><span><span><?php echo JText::_('TPL_GK_LANG_VM_ZOOM'); ?></span></span></div>
<div class="clear"></div>
</div>

and insert <?php echo $this->loadTemplate('images');?>
and now is all working..!

Thanks again.
The topic has been locked.

I had to update template and lose the code 10 years 3 months ago #8272

Good to know you were able to do it.

What ever stays inside the <div class="main-image"> ..... </div> tag actually depends on the joomla template individually.

Case solved. Topic is closed.

Regards,
Support
The topic has been locked.
Time to create page: 0.131 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo