Ask a Question in VM is opening on its own page

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Aug 28, 2013 6:17 pm
Reply with quote
Report this post
Hi All,

The ask a question button in VM is opening as a new link over the page thus taking the customer out of the product.

I've already tried adding this code to the top of the productdetails index.php file but its not working:

Code: Select all
<?php JHTML::_('behavior.modal'); ?>


example product here: http://www.caseys.ie/index.php?option=c ... temid=9999

Any other suggestions?

Thanks,
User avatar
Senior Boarder

GK User
Wed Aug 28, 2013 7:58 pm
Reply with quote
Report this post
You are loading jQuery twice and it is causing following error.

Code: Select all
Type error $ Fancybox is not a function


This can be caused by following,

1. jQuery is not loaded.
2. jQuery is loaded more then once.
3. Script is executed before jQuery gets loaded.

So I suggest you use following plugin to only load jQuery once as each component / plugin / module / template trys to load jQuery on their own.

This plugin will make sure it only gets loaded once so there is no dublicates.

jQuery Easy - Joomla extension.
http://extensions.joomla.org/extensions ... ipts/18327

See you around...
User avatar
Platinum Boarder

GK User
Wed Aug 28, 2013 11:01 pm
Reply with quote
Report this post
Thanks,

I installed that plugin and it worked for a bit but now im back to square one... this keeps happening erratically.
User avatar
Senior Boarder

GK User
Wed Aug 28, 2013 11:55 pm
Reply with quote
Report this post
Can you also try following not in particular order.

1. Disable Plugin-Fancy box in Plugin Manager as this is loaded already by Virtuemart.
2. or keep above plugin enabled but disable virtuemart scripts in virtuemart itself in configuration > templates > bottom right corner.
User avatar
Platinum Boarder

GK User
Thu Aug 29, 2013 10:17 am
Reply with quote
Report this post
Thanks ive done that now and cleared Joomla Cache and local cache will let you know if it stays working.

Regards,
User avatar
Senior Boarder


cron