Linelabox Support

Hello there! Welcome to Linelabox Support Forum. Post your question and our support specialists will help you. Look for the solution in the F.A.Q. first. Our support team is available for any questions or issues in the following working hours: Monday - Friday: 10:00 - 18:00.

Martin
Martin
Offline
Hi,

The close button on form 'Ask a question about this article' doesn't work. After sending an question, in the next window a 'thank you' message appears with a close button. This close button doesn't work (window does not close). The X in the right upper corner works oké and closes the window.

Kind Regards,

Martin
Responses (17)
  • Accepted Answer

    Friday, August 29 2014, 01:11 PM - #permalink
    0
    Hi, What version of VirtueMart are you using? Please provide website url.
    The reply is currently minimized Show
  • Accepted Answer

    Martin
    Martin
    Offline
    Friday, August 29 2014, 01:22 PM - #permalink
    0
    Hi,

    I use VirtueMart 2.6.8. Website url is http://194.247.30.186/index.php

    Regards, Martin
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 29 2014, 05:21 PM - #permalink
    0
    I have tested your template without problems. The close button works correctly. What browser version are you using?
    The reply is currently minimized Show
  • Accepted Answer

    Martin
    Martin
    Offline
    Friday, August 29 2014, 05:51 PM - #permalink
    0
    Linux Mint, with Firefox 31.0. But also Chrome Versie 37.0.2062.94 (64-bit) gives this problem. And the person for who I build the website uses a Windows PC with Internet Explorer, and has the same problem.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 29 2014, 06:14 PM - #permalink
    0
    Please try to disable Fancybox.js in VirtueMart Configuration > Templates > Activate Css Styles & Javascripts.
    The reply is currently minimized Show
  • Accepted Answer

    Martin
    Martin
    Offline
    Saturday, August 30 2014, 11:58 AM - #permalink
    0
    Disabling Fancybox.js doesn't do the trick. The close button doesn't close the window.

    Regards, Martin
    The reply is currently minimized Show
  • Accepted Answer

    Martin
    Martin
    Offline
    Saturday, August 30 2014, 12:34 PM - #permalink
    0
    The close button with X in the upper right corner (sbox-btn-close) however, works fine.

    Regards, Martin
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, August 31 2014, 12:01 PM - #permalink
    0
    Thank you for your bugreport. We will fix this issue immediately and release in next update.
    The reply is currently minimized Show
  • Accepted Answer

    Martin
    Martin
    Offline
    Wednesday, September 10 2014, 10:25 PM - #permalink
    0
    Great! How do I get this version? In My Account 'Download Template' option?

    Regards, Martin
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, September 10 2014, 10:47 PM - #permalink
    0
    Go to your account > "My templates" tab > Edit template > Save > Download template, your Linelabox credit amount will be increased automatically by +1 amount. Information about update will be sent to all customers.
    The reply is currently minimized Show
  • Accepted Answer

    Martin
    Martin
    Offline
    Friday, September 12 2014, 10:26 AM - #permalink
    0
    Hi,

    I did the edit template and saved it. But when I try to download, I get this message 'Error: no credit!'. My credit amount isn't increased automatically.

    Regards, Martin
    The reply is currently minimized Show
  • Accepted Answer

    Martin
    Martin
    Offline
    Tuesday, September 16 2014, 09:01 PM - #permalink
    0
    Hi,

    I've buyed 10 credits and the download works fine ;)

    I have a question about the Ultimelab2 template. Can I use it in a Joomla 3 installation with VirtueMart 3? I read that support on Joomla 2.5 ends after december 2014 and VirtuMart 3 will be ready soon.

    Regards, Martin
    The reply is currently minimized Show
  • Accepted Answer

    Martin
    Martin
    Offline
    Monday, October 13 2014, 05:10 PM - #permalink
    0
    Hi,

    I found line <a class="ask-a-question modal quickbtn boxcart boxcartbt box4br_radius boxcart_shadow" rel="{handler: 'iframe', size: {x: 700, y: 550}}" href="/<?php echo $this->askquestion_url ?>">

    I slight difference with your line is the '/' in href="/<?php echo $this->askquestion_url ?>. This '/' is missing in my code.

    I replaced the code with <a class="ask-a-question quickbtn boxcart boxcartbt box4br_radius boxcart_shadow" href="/<?php echo $this->askquestion_url ?>"> (with a '/' in href="/<?php i got an error when I clicked button 'ask a question').

    However, when the question is send the close button in the next screen still doesn work... :(

    Regards, Martin
    The reply is currently minimized Show
  • Accepted Answer

    Martin
    Martin
    Offline
    Thursday, October 30 2014, 10:47 AM - #permalink
    0
    Hi,

    Can you give some feedback on this bug? Is it already solved?

    Regards, Martin
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 30 2014, 04:35 PM - #permalink
    0
    Hi,

    Please open templates/your_template/html/com_virtuemart/productdetails/default.php

    Find line:
    // addon for joomla modal Box
    JHTML::_('behavior.modal');
    // JHTML::_('behavior.tooltip');
    $document = JFactory::getDocument();
    $document->addScriptDeclaration("
    jQuery(document).ready(function($) {
    $('a.ask-a-question').click( function(){
    $.facebox({
    iframe: '" . $this->askquestion_url . "',
    rev: 'iframe|550|550'
    });
    return false ;
    });
    /* $('.additional-images a').mouseover(function() {
    var himg = this.href ;
    var extension=himg.substring(himg.lastIndexOf('.')+1);
    if (extension =='png' || extension =='jpg' || extension =='gif') {
    $('.main-image img').attr('src',himg );
    }
    console.log(extension)
    });*/
    });
    ");
    /* Let's see if we found the product */
    if (empty($this->product)) {
    echo JText::_('COM_VIRTUEMART_PRODUCT_NOT_FOUND');
    echo '<br /><br /> ' . $this->continue_link_html;
    return;
    }
    ?>



    /* Let's see if we found the product */
    if (empty($this->product)) {
    echo JText::_('COM_VIRTUEMART_PRODUCT_NOT_FOUND');
    echo '<br /><br /> ' . $this->continue_link_html;
    return;
    }

    if(JRequest::getInt('print',false)){
    ?>
    <body onload="javascript:print();">
    <?php }

    // addon for joomla modal Box
    JHTML::_('behavior.modal');

    $MailLink = 'index.php?option=com_virtuemart&view=productdetails&task=recommend&virtuemart_product_id=' . $this->product->virtuemart_product_id . '&virtuemart_category_id=' . $this->product->virtuemart_category_id . '&tmpl=component';

    $boxFuncReco = '';
    $boxFuncAsk = '';
    if(VmConfig::get('usefancy',1)){
    vmJsApi::js( 'fancybox/jquery.fancybox-1.3.4.pack');
    vmJsApi::css('jquery.fancybox-1.3.4');
    if(VmConfig::get('show_emailfriend',0)){
    $boxReco = "jQuery.fancybox({
    href: '" . $MailLink . "',
    type: 'iframe',
    height: '550'
    });";
    }
    if(VmConfig::get('ask_question', 0)){
    $boxAsk = "jQuery.fancybox({
    href: '" . $this->askquestion_url . "',
    type: 'iframe',
    height: '550'
    });";
    }

    } else {
    vmJsApi::js( 'facebox' );
    vmJsApi::css( 'facebox' );
    if(VmConfig::get('show_emailfriend',0)){
    $boxReco = "jQuery.facebox({
    iframe: '" . $MailLink . "',
    rev: 'iframe|550|550'
    });";
    }
    if(VmConfig::get('ask_question', 0)){
    $boxAsk = "jQuery.facebox({
    iframe: '" . $this->askquestion_url . "',
    rev: 'iframe|550|550'
    });";
    }
    }
    if(VmConfig::get('show_emailfriend',0) ){
    $boxFuncReco = "jQuery('a.recommened-to-friend').click( function(){
    ".$boxReco."
    return false ;
    });";
    }
    if(VmConfig::get('ask_question', 0)){
    $boxFuncAsk = "jQuery('a.ask-a-question').click( function(){
    ".$boxAsk."
    return false ;
    });";
    }

    if(!empty($boxFuncAsk) or !empty($boxFuncReco)){
    $document = JFactory::getDocument();
    $document->addScriptDeclaration("
    //<![CDATA[
    jQuery(document).ready(function($) {
    ".$boxFuncReco."
    ".$boxFuncAsk."
    /* $('.additional-images a').mouseover(function() {
    var himg = this.href ;
    var extension=himg.substring(himg.lastIndexOf('.')+1);
    if (extension =='png' || extension =='jpg' || extension =='gif') {
    $('.main-image img').attr('src',himg );
    }
    console.log(extension)
    });*/
    });
    //]]>
    ");
    }


    ?>


    Done!
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 30 2014, 04:38 PM - #permalink
    0
    This fix is only for VirtueMart 2.6 and higher!
    The reply is currently minimized Show
  • Accepted Answer

    Martin
    Martin
    Offline
    Friday, October 31 2014, 12:20 PM - #permalink
    0
    Hi,

    Ik replaced the code in the first block you mentioned after 'Find line:' with the code in the second block, in file templates/your_template/html/com_virtuemart/productdetails/default.php.

    There is no difference. The modal window works fine, but the close button still won't work :( Have I done something wrong?

    I use Virtuemart 2.6.12.

    Regards, Martin
    The reply is currently minimized Show
Your Reply

VirtueMart Admin Theme

VMADMINLAB

Responsive VirtueMart 3 Administrator Template

Download
JOIN NOW!

New Joomla! 3 Template

REVOLAB

Responsive Joomla 3 Template / VirtueMart 3 Theme

Template Demo
JOIN NOW!

Recent Discussions

In all Download Folders from my Download Arrea are only the html and the images ...
1 week ago 5
Dobrý den, mám u Vás zakoupený proff. package, vytvořil jsem si šablonu, ale pok...
1 week ago 1
Hi I get the following warning on the product page when using the Simple File Up...
1 week ago 1
Password proctected content
2 weeks ago 2

Who's Online

We have 205 guests and one member online

Linelabox.com is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
Copyright © 2014 Linelabox.com - Joomla! 3 / VirtueMart 3 Templates. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License. All other marks are the property of their respective owners.
LINELAB WEBDESIGN