Sort of galleries IN an Album
-
Hello,
i have a problem with the nextgen gallery .
It’s about the album view. In the backend I can assing the galleries of an album and bring them by drag & drop in the order in which they are needed for me. Everything works great, but in the front end the galleries are then shown in an entirely different order, which makes absolutely no sense in relation to the “gid” or another field of the database-table. So neither “gid” descending, or ascending “gid”, nor otherwise ordered by a recognizable criterion. Simply wildly. Since the chronology is very important in my galleries that is so not usable for me. Of course, I also have googled and found the following solution, which unfortunately does not do anything for me:“In the ngg-db.php file , the following line needs to change accordingly:
$album->sortorder = serialize ( $wpdb->get_col (“SELECT gid FROM $wpdb->nggallery ORDER BY fotodatum DESC”));”
I tried now for hours around, but can not find a solution.
Who can help me?Greetings
- The topic ‘Sort of galleries IN an Album’ is closed to new replies.