Dear all,
Please can someone help me to add extra fields in "Ask a question Pop up form" in addition to the already exist fields "Name" and "Email" ?
I need to add fields as a combo box field and also a calendar field .. can u help me please as soon as possible , Thanks alot.
[attachment cleanup by admin]
The layouts for ask question are in com_virtuemart/views/askquestion
You need some overrides to add new fields.
Hi mywam, have you solved the issue? I have the same need but do not know how to do it.
How i do overrides to add extra fields please ??????????
http://docs.virtuemart.net/tutorials/33-templating-layouts/78-introduction-template-system.html
Quote from: kkmediaproduction on April 16, 2013, 17:14:45 PM
http://docs.virtuemart.net/tutorials/33-templating-layouts/78-introduction-template-system.html
Really i can't figure out this ??
I need just to add some fields in this ask a question form ??
you must write a override for the files in
com_virtuemart/views/askquestion/tmpl
in default.php you must add the field
in mail_html_question.php and mail_raw_question.php you must add the output
you need also in this files something like this for the new field
$this->my_field = JRequest::getString ('my_field');
if you have no php/html knowledge, make it as commercial job
Thanks for your help , Please can u tell me , how to change the link of "ask a question " when i press on it redirects to another component " Fabrik form " ??? thanks .
like this link example in your extensions website : http://extensions.virtuemart.net/vm-templates/mobile-template-detail
Also with a template override for product details page. There you can change the link.