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

College Q&A Website, I want to be able to have a Ask Question Box On the main page.

0 votes

I want to be able to have a Ask Question box on the main page for the users to ask questions.. I feel like this is a key part of the Question Answer Process.  and if possible have them be able to share it on their facebook as a wallpost or their status.

this is my website http://blankanswer.com/

asked Feb 8, 2011 in Q2A Core by anonymous

1 Answer

0 votes

Place this code in the sidebar: 

<FORM METHOD="POST" ACTION="[FULL URL OF YOUR ASK PAGE]">
<INPUT NAME="title" TYPE="text">
<INPUT NAME="doask1" VALUE="Ask" TYPE="submit">
</FORM>

Source: http://www.question2answer.org/qa/549/how-to-add-ask-question-text-box-and-continue-button-sidebar

For the Facebook share button, I suggest AddThis.

answered Feb 8, 2011 by edward
yea.. something like that is good. but i would love for it be like, http://www.vsevem.si/.. as he did on the top.
You need a custom home page, then you can place this code in:
<div>
                <FORM  NAME="ask" METHOD="POST" ACTION="./index.php?qa=ask" >
                    <TABLE CLASS="qa-form-tall-table">
                        <TR>
                            <TD CLASS="qa-form-tall-label">
                                Title:
                            </TD>
                        </TR>
                        <TR>
                            <TD CLASS="qa-form-tall-data">
                                <INPUT  NAME="title" ID="title"  TYPE="text" VALUE="" CLASS="qa-form-tall-text">
                               
                            </TD>
                        </TR>
                        <TR>
                            <TD CLASS="qa-form-tall-label">

                            </TD>
                        </TR>
                        <TR>
                        </TR>
                        <TR>
                            <TD COLSPAN="1" CLASS="qa-form-tall-buttons">
                                <INPUT  VALUE="Continue" TITLE="" TYPE="submit" CLASS="qa-form-tall-button qa-form-tall-button-ask" onmouseover="this.className='qa-form-tall-hover qa-form-tall-hover-ask';" onmouseout="this.className='qa-form-tall-button qa-form-tall-button-ask';">
                            </TD>
                        </TR>
                    </TABLE>
                    <INPUT TYPE="hidden" NAME="doask1" VALUE="1">
                </FORM> </div>