Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
590 views
in Q2A Core by
Hello!

 

How can I move the "Your Answer" box, after the list of all answers. There are some visitors who don't scroll down, because they see the "Your Answer" box and they think tehere is not answer available for the question. (I think this happend because on Stack Overflow the answer box is at the bottom of page, and visitors are familiarised with SO).

So, how can I make it?

Thank you!
Q2A version: 1.6.3
by
This question has been asked and answered here: http://www.question2answer.org/qa/34539

1 Answer

+3 votes
by
selected by
 
Best answer

I cannot answer below the mentioned question, so I am posting my anwser here.

I did this just a few days ago, putting the next function in my qa-theme.php:

        function main_parts($content)
        {
            if ($this->template=='question'){
                $this->reorder_parts(array("a_list"), "a_form");
            }

            qa_html_theme_base::main_parts($this->content);
        }

 

So this sounds like the "official" way to swap the places of two or more elements, that you want to output on the page.

...