Hello!
I have an ajax module for contact forms, so i want to use it instead of "Ask a Question"form, so i want that when the user click on the "Ask a Question"button the ajax menu opens. Where should i change?
The codes to open the ajax are those:
pwebContact126.toggleForm(1); ->java
OR
Open by link:
<a href="#" class="pwebcontact126_toggler">Click here</a>
OR
Open by image:
<a href="#" class="pwebcontact126_toggler"><img src="..."></a>
Also i`m not a developer, can someone show me exactly where should i change?
Thanks a lot!
You need a template override for the product details page. There you can change the code for "ask a question".
Here you find more about template overrides:
http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core
https://www.joomlashack.com/blog/joomla-templates/1067-customize-your-joomla-templates-by-learning-overrides
Hello,
Thx a lot for the initiative, but i can`t do this, i`m not a developer, i read a lot but i could not get it. I found the form witch is in components- com_virtuemart-views-askquestion-tmpl
But i need to change before this, i want to change the action of the button "ask a question"
Can you help me showing more details please? I got how to do the override but i can't not locate e exact file and if i locate it i don`t know where to change.
Thx a lot.
You need the productdetails page
views->productdetails->tmpl->default.php
Make a override for this file and change the "ask a question" button in this file.