Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

How to rename "Ask a Question" to something like "Need Help/Post your Query" and add some customized fields

0 votes
I dont want to use the title "Ask a Question"  rather I want to use "Need Help/ Post a Query" and then allow user to post their question and I also want user to post a URL in separate Box which will be shown next to the question.

 

Something like: I have raised this question in Stackoverflow please refer this URL

URL wont be shown directly but a Box which on clicking will take to the other website.

How to add some custom fields while asking questions and insert the same in the database.

 

also rename "most answers" to most comments or popular
Q2A version: 1.5
asked Jan 18 in Q2A Core by ladzzz

1 Answer

+1 vote
 
Best answer

To change "Ask a Question" to "Need Help/ Post a Query" you need to set up your custom language:

1) create your lang folder (e.g. en_CU) in /qa-lang/ .
2) copy into it all files qa_lang_*.php from /qa-include/ folder.
3) edit qa_lang_main.php : 
'nav_ask' => 'Need Help',
4) Occacionally, edit qa_config.php :

$QA_CONST_PATH_MAP=array(
'ask' => 'needhelp',
)

If you want to add a box with a link on a question form, you need to write a plugin. However, more easily, you can add a custom html on the top of question form with some description that user is likely to add some referring URL within his question. Because why hide the url beside a button ?

answered Jan 19 by Krzysztof Kielce
selected Feb 5 by ladzzz
How do I "invoke" the new language