Hi,
At my site (
link) I have installed Myalbum. At the index page I want to change to sort order of the categories but I can't find the code to change it. Anyone care to help me find it?
Thanks in advance,
Frank
Ok, I found it (thanks to Dutch Xoops support)
In the includes folder there is a file called: draw_functions.php . In line 201 you can find the following code:
$crs = $xoopsDB->query( "SELECT cid, title, imgurl FROM $table_cat WHERE pid=$parent_id ORDER BY title") or die( "Error: Get Category." ) ;
You could change ORDER BY title to ORDER BY cid DESC