Member
Member
tim254   2008-05-25, 03:37
#1

I'm using the following code to print a list of albums on my site:

``

However, the album names are not being sorted alphabetically like the way I set it in "Options > Gallery Configuration > Sort Gallery by: > Title"

I did a refresh of the database, but still no luck. I looked at the docs, but it doesn't mention a sort order option.
http://www.zenphoto.org/documentation-official/zenphoto/_plugins---print_album_menu.php.html

Is it possible to sort this list alphabetically?

--
tim

Member
Member
tim254   2008-05-25, 04:18
#2

To answer my own question ... I took some code from Stopdesign and created my list which is sorted correctly:

`[list]

">

        "

[/list]`

Administrator
Administrator
acrylian   2008-05-25, 10:41
#3

The nightly build contains a newer version of the menu that should do that. The version coming with 1.1.6 uses it's own db query to get the albums while the newer version uses the class object, so that it should sort correctly.

Member
Member
francoisl   2008-10-01, 07:24
#4

hello,

My zen photo version is 1.2[2213]

I want to include a menu to access to albums with printAlbumMenuJump. The order of the list is odd.
I get (name of my top-album is a number)
2005/
2006/
2004/
2007/
2008

thanks.

Member
Member
francoisl   2008-10-01, 09:04
#5

oups, it's my fault, I didn't use the latest printAlbum version. Now everything is fine.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.