Skip to main content

contact button behavior

More
13 years 1 month ago #118119 by arinehart
In the process of customizing the product page contact button system I have managed to get the contact button (from 'display a contact button on the product page') to open up the contact form in a modal window (component.php with its own styling), present the exact form we need, and send from a customized email template. There is just one task remaining and I am stuck. When you hit 'send' (previously 'OK') the modal window loads the full home page of the site with relevant message into the modal window itself. I would like for just the relevant message to load into the modal window after submitting the form. How can this be done?

-- url of the page with the problem -- : www.destroyallguitars.net/index.php/guit.../category_pathway-14
-- HikaShop version -- :2.1.1
-- Joomla version -- : 3.0.3
-- PHP version -- : 5.3.24
-- Browser(s) name and version -- : any browser
-- Error-message(debug-mod must be tuned on) -- : none

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

More
13 years 1 month ago #118132 by nicolas
Replied by nicolas on topic contact button behavior
Hi,

It's actually quite simple.
In the contact form page, you need to add a hidden input with the name tmpl and the value component
That way, the resulting page will load in the popup without the template around it.

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

More
13 years 1 month ago #118307 by arinehart
Replied by arinehart on topic contact button behavior
Perfect. I really wasn't expecting it to be that easy. Thank you!

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

Time to create page: 0.153 seconds
Powered by Kunena Forum