Frequently Asked Questions

Sort sites by subject or date opened?

How can I change Flinx Collective so that it will sort my sites by Subject or Date Opened instead of Title?

Open category.php, and find this line:

$result = mysql_query("SELECT * FROM $table_link WHERE relCatID=$id ORDER BY title ASC");

Change it to this for sort by subject:

$result = mysql_query("SELECT * FROM $table_link WHERE relCatID=$id ORDER BY subject ASC");

Or this for sort by date:

$result = mysql_query("SELECT * FROM $table_link WHERE relCatID=$id ORDER BY date ASC");