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

Link to a question

+1 vote
What is the easy way to create the right URL to link to a question by having just a ID? Because I want my plugin to work in sites with diferent configurations, so the URL pattern can change.
asked Apr 6, 2011 in Q2A Core by scorch

2 Answers

0 votes
 
Best answer
Use the functions qa_path_html(...) and qa_q_request(...) from qa-base.php - please consult this page for more information on Q2A's functions: http://www.question2answer.org/functions.php
answered Apr 9, 2011 by gidgreen
What is the qa_q_request() function? It isn't in the documentation. :)

EDIT: I have found it. Thanks. :)
0 votes
Nobody? This is realy important. :)
answered Apr 8, 2011 by scorch