News:

Looking for documentation? Take a look on our wiki

Main Menu

Modify "Ask a Question"link -> open ajax menu instead

Started by sohh, January 21, 2014, 04:45:21 AM

Previous topic - Next topic

sohh

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!

K&K media production


sohh

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.

K&K media production

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.