On this page: http://www.sojournvisualarts.com/projects/
We have [album=all,compact] to display the albums.
I want to reverse the sort order, so that new albums are on top. How to?
On this page: http://www.sojournvisualarts.com/projects/
We have [album=all,compact] to display the albums.
I want to reverse the sort order, so that new albums are on top. How to?
ngg-db.php line 244
$album->sortorder = serialize( $wpdb->get_col("SELECT gid FROM $wpdb->nggallery ORDER BY gid DESC") );
AWESOME THANKS!
Sorry to dig up an old thread, but I don't have a ngg-db.php to edit in the newest version. I've tried determining the gallery order in the admin tool, but it doesn't change anything (ascending or descending). I'd really like to have my newest gallery on the top if possible. Can anyone lend a hand?
I'm using [album id=x] btw, and I'm really happy with the layout, I just want the order reversed.
http://www.motorfanatic.net/pics/
Thanks!
Hi,
i dont know if that fits your needs and this only applies to compact albums: http://nextgen.boelinger.com/albumtags/
best regards
bee
Thanks for the link, and I wish it did fit my needs, but I really don't want to use compact albums and all I would like is the most recent galleries on top. I feel silly because it probably isn't that hard?
Can anyone else lend a hand?
Thanks!
Hi,
the ngg-db.php resides now in the "lib" directory an the line to change should be 244.
best regards
bee
Hi.
Anyone know how to do it in 1.3.3?
In version 1.3.6 the answer is the same,
ngg-db.php still resides now in the "lib" directory an the line to change should be 293.
You must log in to post.