Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
713 views
in Q2A Core by
1) How is defined a "recent" question in the main page?

2) Is it defined by the administrator?

3) It there any kind of pagination?

I am asking about the definitions that define the recent questions page! What kind of control do the administrator has?
Q2A version: 1.7.0

1 Answer

+2 votes
by
selected by
 
Best answer

1) As the "main page" can be different for every user I assume you're talking about:

http://www.question2answer.org/qa/questions

In fact, the full URL is actually http://www.question2answer.org/qa/questions?sort=created

According to this line, the recent questions page are sorted in descending order by asked question creation date (or unix timestamp, actually). Note the created keyword is the value the $sort variable has when running this code on the given URL.

2) No, it is hardcoded, as you can see.

3) Yes, it is in the admin/lists section. It is the Length of Questions page setting. However, note this will affect the other subnavigation tabs (Hot!, Most votes, Most answers and Most views).

...