Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: How to enable Captcha on Ask a question Tab ?

How to enable Captcha on Ask a question Tab ? 11 years 6 months ago #1278

Hi,

I have found a plugin for genaral use of joomla and 3rd party extentions, it is also have vm2 support.
After enable the captcha ext. it is working for ask a question popup link which is on flypages but not works or insert codes for tabs section.

Could you pls. let me know how to include plugin codes to the ask a question tab.

Plugin is: joomla-extensions.kubik-rubik.de/ecc-easycalccheck-plus
The administrator has disabled public write access.

How to enable Captcha on Ask a question Tab ? 11 years 6 months ago #1279

Hi,

I dont know how that plugin works but it is normal if it doesnt work in TAB section by default, because tabulated form comes with our Template, and your plugin was designed for default settings, i cant help you to enable the captcha for tabulated ask question form, because it is a customization and our free support doesnt cover any kind of custumization, but you might want to disable the tabulated ask question form though, so the form will be reached only after clicking the link. To disable the ask a question form in footer TABS section; open this PHP file.

ROOT/templates/<yourjolatemplate>/html/com_virtuemart/producdetails/default.php
(Or flexv2.php, depends on which one you are using)

And look for the the ask question form's HTML and PHP lines, simply eliminate them.

Cheers.
Last Edit: 11 years 6 months ago by Support.
The administrator has disabled public write access.

How to enable Captcha on Ask a question Tab ? 11 years 5 months ago #1343

Thank you.
The administrator has disabled public write access.

How to enable Captcha on Ask a question Tab ? 11 years 1 month ago #3645

Hi,

Also want to use this extension but what lines do i eliminate, found them in the flexv2 file but not sure the start to end of the lines.

Hope you can help me.

Thanks
The administrator has disabled public write access.

How to enable Captcha on Ask a question Tab ? 11 years 1 month ago #3648

Hi Arthur

in flex2 they are around line 662 for the tab
 
<?php if (VmConfig::get('ask_question', 1) && $params->get('productdetails_ask_tab',1)) { ?>
      <li><a href="javascript:void(0)" rel="#askquestion"><span><?php echo JText::_('COM_VIRTUEMART_PRODUCT_ASK_QUESTION'); ?></span></a></li>
      <?php }?>
 
 

and 744 for the content
<?php if (VmConfig::get('ask_question', 1) && $params->get('productdetails_ask_tab',1)) { ?>
      <div id="askquestion" class="tabcontent" style="display:none;">
        <?php	echo $this->loadTemplate('askquestionform'); ?>
      </div>
      <?php } ?>
 
 

cheers
The administrator has disabled public write access.
Time to create page: 0.187 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