Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
1.3k views
in Q2A Core by

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/

1 Answer

0 votes
by

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.

by
i already had that.. but, i was looking for a more solid blank box on the home page.. where it says ask a question..
by
Look at my site: http://www.wikitranslation.org . Is that the type of Ask Question box you would like on the home page?
by
yea.. something like that is good. but i would love for it be like, http://www.vsevem.si/.. as he did on the top.
by
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>
...