Loading...
 
Features / Usability

Features / Usability


Re: Re: Default Directory Sorting

posts: 3665 United States

>
> I actually want the DEFAULT search method for all users to be asc, as it is desc now. This way the lesser visited businesses will show on top unless otherwise specified.
>

As I said, the easiest way is to simply change your incoming link. However, if you want to modify the code:

  1. Edit the tiki-directory_ranking.php file.
  2. Find this line:
    Copy to clipboard
    if (!isset($_REQUEST["sort_mode"])) { $sort_mode = 'created_desc';
  3. Change it to:
    Copy to clipboard
    if (!isset($_REQUEST["sort_mode"])) { $sort_mode = 'hits_asc';


HTH,

-Rick
Coming soon: TikiWiki for Dummies Smarties — A beginner's guide to using ))TikiWiki((.

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting