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

Where exactly is the title added from UI?

+1 vote
I am a newbie to php but i am liking the way q2a is implemented.I am trying to integrate q2a with my website.

The functionality i am trying to achieve is ,
User types in the title of his question on my website and then when he clicks on continue ,he is redirected to my q2a site with title displayed.

So i need to know where exactly in the php code the title text box is being populated,so that i can tweak that code to get title values from my post method.

Thank you
asked Jul 20, 2010 in Q2A Core by bhargavay5

1 Answer

+1 vote
I'm not sure I'm understanding you completely.

Can you simply post the title (as the variable "title") to your ask page, e.g. "/qa/ask". In other words you can basically copy the form from the ask page:

    <form method="post" action="/qa/ask">
      <input type="text" name="title" />
      <input type="submit" value="Submit" />
    </form>
answered Jul 20, 2010 by DisgruntledGoat