News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

main image in a link

Started by hunter205, September 18, 2012, 17:35:53 PM

Previous topic - Next topic

hunter205

I found that in VM2.0, main image is generate in a <img> like this :
<div class="main-image">
<img class="product-image" alt="" src="/mieushop/images/stories/virtuemart/product/img_2530.jpg">
</div>


So i want to modify it to
<div class="main-image">
<a href="1big.jpg" class="MagicZoom" id="bike"><img class="product-image" alt="" src="/mieushop/images/stories/virtuemart/product/img_2530.jpg"></a>
</div>


To use with magic zoom, so how can i modify it? my problem is use magic zoom with modalizer: http://www.nonumber.nl/forum/Modalizer/4861-Modalizer-not-working-with-magic-zoom#4861

please help me.

bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

hunter205

Quote from: bytelord on September 18, 2012, 17:50:44 PM
Hello,

Use a ready one

http://forum.virtuemart.net/index.php?topic=105768.0
http://forum.virtuemart.net/index.php?topic=103306.0

Hi, thanks a lot, i will try to use it. is cloud zoom conflict with Modalizer or not?

Can you give me a solution how to display product detail page in a popup window (as Fancy box) ? i have already stuck with this problem so long time ago. please help me.

hunter205

Or some one can help me how to display product details in fancybox or some thing like popup windows? please contact me, and i will give administrator site & FTP account.

hunter205

Hi, i tried to install cloud zoom for virtuemart plugin, but my product details page doesn't work, it's empty page. may be this plugin doesn't work in Joomla 1.7? cause i use joomla 1.7 with virtuemart 2.0....so sad :(

any body can give me solution?


hunter205


bytelord

Hello,

I do not use magiczoom or modalizer, both are different products. First follow the instructions to enable magiczoom or use cloud zoom, after you succeed with that try to use modalizer with your product links ... if you don't test it, so be able to provide a url, so someone check it no one can help you.

Last you should upgrade your joomla to 2.5.7 and VM to 2.0.10 ... The versions you are using are too old

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

hunter205

Quote from: bytelord on September 20, 2012, 21:02:53 PM
Hello,

I do not use magiczoom or modalizer, both are different products. First follow the instructions to enable magiczoom or use cloud zoom, after you succeed with that try to use modalizer with your product links ... if you don't test it, so be able to provide a url, so someone check it no one can help you.

Last you should upgrade your joomla to 2.5.7 and VM to 2.0.10 ... The versions you are using are too old

Hi, i succeed with magic zoom in product detail page, but it fails in modalizer. Sorry about providing url, this is my site: http://mieushop.com, i will give you detail administrator page in your inbox

bytelord

Hello,

There is no magic zoom on the url that you provide! With modalizer i can't help you because i have never use it. Have you try to contact nonumber to help you out?
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

hunter205

Quote from: bytelord on September 21, 2012, 08:09:59 AM
Hello,

There is no magic zoom on the url that you provide! With modalizer i can't help you because i have never use it. Have you try to contact nonumber to help you out?

Hi, thanks for see my website.

Sorry so much, i forget to put position magic zoom in correct place (content-mas-top and footer) . now it's enable. you can check it again, we will back to problem i'm facing.

Again, can you tell me how do you solve this problem? product details page in popup windows (without using Modalizer as you said).

I emailed to Modalizer, and i'm waiting their reply email.

Thanks for read,
Ken hunter

hunter205

thanks for reading. I just found solution about 10 hours ago.

That is magic zoom, I put position of magic zoom module in footer. so Modalizer just load subtemplate components, so it's not loading footer position.

Solution here I just put magic zoom position as "MagicZoomModuleWithVirtueMart", and put this php code right after <div class="product-details">in components\com_virtuemart\views\productdetails\tmpl\default.php

<?php 
jimport('joomla.application.module.helper');
// this is where you want to load your module position
$modules JModuleHelper::getModules('MagicZoomModuleWithVirtueMart'); 
foreach($modules as $module)
{
echo JModuleHelper::renderModule($module);
}
?>



And everything work fine. Hope this solution helps someone else, with product details page in popup windows (by combine magic zoom component and Modalizer plugin)

Thanks for supporting me.
Ken Hunter.

bytelord

Hi,
Just check your url, works great! Well done!

Thanks for sharing your solution

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!