Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

How to make the hot questions page the home page

+2 votes
156 views
asked Sep 27, 2016 in Q2A Core by Aras Ahmed

I want to set the home page to the hot questions list 

Like this:   http://www.question2answer.org/qa/hot

I did change below code in the qa-config file

 from


    $QA_CONST_PATH_MAP=array(
        'questions' => 'topics',
        'categories' => 'sections',
        'users' => 'contributors',
        'user' => 'contributor',
    );

to

    $QA_CONST_PATH_MAP=array(
        'questions' => 'hot',
        'categories' => 'sections',
        'users' => 'contributors',
        'user' => 'contributor',
    );

But it failed 

Q2A version: 1.7.4
commented Sep 28, 2016 by Aras Ahmed
This is same as which I did above in my question but it did not change to the hot question page

1 Answer

+2 votes
answered Sep 28, 2016 by Aras Ahmed

resolved by adding the lines

    $QA_CONST_PATH_MAP=array( 
        'questions' => 'hot', 

    );

to config file

...