Ignore:
Timestamp:
Sep 11, 2008, 11:40:00 PM (16 years ago)
Author:
plg
Message:

feature 169 added: ability to manually sort images inside a category. A
dedicated screen let the administrator sort the images (pur HTML, no
JavaScript yet). The "rank" sort order is available only for a category
without flat mode. New database column image_category.rank.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/config_default.inc.php

    r2516 r2517  
    6363//    the date_available
    6464$conf['order_by'] = ' ORDER BY date_available DESC, file ASC, id ASC';
     65
     66// order_by_inside_category : inside a category, images can also be ordered
     67// by rank. A manually defined rank on each image for the category.
     68//
     69// In addition to fields of #images table, you can use the
     70// #image_category.rank column
     71//
     72// $conf['order_by_inside_category'] = ' ORDER BY rank';
     73// will sort images by the manually defined rank of images in this category.
     74$conf['order_by_inside_category'] = $conf['order_by'];
    6575
    6676// file_ext : file extensions (case sensitive) authorized
Note: See TracChangeset for help on using the changeset viewer.