hi there
well...
i missed the part where it says i should use the english forums first !
so again in english ....
i found out that there is a "default sorting of images" which is apparently set through the "image_sort_default" according to the source code of the web page
any chance somebody knows where to find this parameter ?
i grepped around but did not find it anywhere....
so as i'd like to chose my default sorting order and put it in the configuration file...
thanks
Pierre
Offline
Create your own ./include/config_local.inc.php like this:
<?php
$conf['order_by'] = ' ORDER BY date_creation ASC, file ASC, id ASC';
?>
Any column of the images table can be in the ORDER BY clause with ASC or DESC (ascending or descending) order.
Anyway Wiki is also available to help you.
Enjoy PhpWebGallery!!!
Note: Please make some searches before asking your question is so basic.
http://phpwebgallery.net/doc/doku.php/en:configuration
Offline