-
AuthorPosts
-
calavaro Friend
calavaro
- Join date:
- August 2013
- Posts:
- 125
- Downloads:
- 7
- Uploads:
- 34
- Thanks:
- 28
- Thanked:
- 24 times in 1 posts
September 20, 2013 at 7:59 am #190762Hi,
I reeeaaally didn’t want to open up yet another thread, but I have another problem.
This problem cropped up somewhere along the lines of other fixes and mods provided here (mostly by the hero Leo), but I am not sure which caused it.
So, when a user clicks “Ask a question about this product” on a product detail page, it should open in a modal popup box. It used to open correctly, but now it does not anymore.
Now it simply opens up a new page with no other info except the form. You can still fill in the form and send it, but you have no way of getting back to the website (unless you click back in the browser twice).When you click the “Email/Recommend to friend icon it opens in a modal popup just fine, which is right there on the same product page. (I did try to go back to the original …htmlcom_virtuemartproductdetailsdefault.php file without the email/recommend icon, but it didn’t help at all)
So, hopefully for the last time (not likely :p ) I am asking for assistance on how to solve a problem.
A product can be viewed at http://com2.udemo.net/hayabusa-rashguard-detail
PM me for access credentials if you don’t have them.Pictures of the issue:
Result:
Thank you again for any assistance provided.All the best,
Calavaro
-
phong nam Friend
phong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
September 21, 2013 at 9:00 am #506556Hi Calavaro,
It is quitely weird that the our customized jQuery of displaying Ask a question got stuck on your website, not sure it happened before or after you added the Recommned friend codes. Anyways, the issue is fixed by using the defaul Joomla jQuery in templatesja_hawkstorehtmlcom_virtuemartproductdetailsdefault.php with:
// addon for joomla modal Box
JHTML::_('behavior.modal');
// JHTML::_('behavior.tooltip');
if(VmConfig::get('usefancy',0)){
vmJsApi::js( 'fancybox/jquery.fancybox-1.3.4.pack');
vmJsApi::css('jquery.fancybox-1.3.4');
$box = "$.fancybox({
href: '" . $this->askquestion_url . "',
type: 'iframe',
height: '550'
});";
} else {
vmJsApi::js( 'facebox' );
vmJsApi::css( 'facebox' );
$box = "$.facebox({
iframe: '" . $this->askquestion_url . "',
rev: 'iframe|550|550'
});";
}
$document = JFactory::getDocument();
$document->addScriptDeclaration("
//<!]>
");The link with popup works fine now.
1 user says Thank You to phong nam for this useful post
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by calavaro 11 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum