Skip to main content

Ok & Cancel Buttons

More
9 years 3 months ago - 9 years 3 months ago #273454 by Uriel
Ok & Cancel Buttons was created by Uriel
-- 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: 9 years 3 months ago by Uriel.

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

More
9 years 3 months ago #273456 by Mohamed Thelji
Replied by Mohamed Thelji on topic Ok & Cancel Buttons
Hello,

In your case if you want to hide the Ok & Cancel butons, the solution will be to use that kind of CSS code :
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 :
Code:
<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.166 seconds
Powered by Kunena Forum