Ok & Cancel Buttons

  • Posts: 89
  • Thank you received: 2
7 years 10 months ago #273454

-- url of the page with the problem -- : www.hosting-webdesign.co.za/index.php/bu...t/contact/cid-1.html
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.2
-- PHP version -- : 7
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Not Applicable

Hey Guys!

Please have a look at this Page ; www.hosting-webdesign.co.za/index.php/bu...t/contact/cid-1.html

The Ok and Cancel buttons don't make sense there - almost every Contact Form has a submit Button at the Bottom of the Form.
How can I change this please?

I had a look at Display > Contact Template and Is this what I need to edit and kindly let me know what to put where?

Last edit: 7 years 10 months ago by Uriel.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
7 years 10 months ago #273456

Hello,

In your case if you want to hide the Ok & Cancel butons, the solution will be to use that kind of CSS code :

.hikashop_product_contact_page #toolbar {
    display: none;
}
www.hikashop.com/support/documentation/1...the-display.html#css

Note that you can also edit the "contact" file of the "product" view of your front-end template via "Hikashop->Display->Views" and change these lines :
<div class="toolbar" id="toolbar" style="float: right;">
	<button class="btn" type="button" onclick="checkFields();"><img src="<?php echo HIKASHOP_IMAGES; ?>ok.png" alt=""/><?php echo JText::_('OK'); ?></button>
<?php if(JRequest::getCmd('tmpl', '') != 'component') { ?>
	<button class="btn" type="button" onclick="history.back();"><img src="<?php echo HIKASHOP_IMAGES; ?>cancel.png" alt=""/><?php echo JText::_('HIKA_CANCEL'); ?></button>
<?php } ?>
</div>

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum