Maybe I'm missing something, but I've searched and searched and just can't find the answer.
Is there an album list for Gallery 3? From what I can see there's not, this is the only thing holding me back from migrating my two main sites to version 3.
I've got my family album running on G3 and I like it, but the album list is a must have for my two big sites.
Posts: 337
I am not sure what do you mean by Album List, but there is a module that generates a tree for all of your albums (Album Tree): http://gallerymodules.com
Posts: 8
Thanks mamouneyya, I discovered that site yesterday and gave that module a try, but unfortunately it won't suit, as it displays the album in a drop down box, which a lot of visitors wouldn't notice.
By album list I mean the list on one of my sites: http://www.avatarsplus.com where you can see all of the albums on the left of the screen.
From reading around it looks like I'll need to wait for a module to get written to do what I want.
Posts: 27300
I think there is an advance setting for change from a dropdown to a list.
When I get time I will write some docs for this new module.
Unless somebody else cares to.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27
@ryanstev
I'm using albumtree as a list on my site. To enable as a list, simply select admin>settings>advanced and change this setting
[img]http://retroguy.org/dev/albumtree1.png[/img]
to this
[img]http://retroguy.org/dev/albumtree2.png[/img]
regards,
http://retroguy.org
Posts: 27300
Codex page created:
http://codex.gallery2.org/Gallery3:Modules:album_tree
If you find issues or if it needs more info, please feel free to edit. The docs are for users by users.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 8
Thanks Retroguy, I tried that setting the other day, it doesn't look right, it puts the list in a scroll box, etc.
I'm just going to wait for another module like this before I upgrade to G3.
Posts: 27
I feel your pain.
I've been trying to rebuild this module for the last week to make it semantic and customisable, but I can't convert my old school php so it runs in G3/kohana.
The lack of a good menu is a big hole in the G3 framework IMO.
Good luck.
regards,
http://retroguy.org
Posts: 8
I took out the height declaration in the CSS for the script and this makes the script look a lot better.
Posts: 8
I've made a modification to albumtree_block_list.html.php which outputs the data in a way I like.
The original script has an error in it where it assumes Gallery is running from the root directory, I've fixed that in my version and adjusted the html output to look a bit tidier.
I tried really hard to make it a collapsible menu, but I couldn't figure out how to get the javascript code in the head tags, so this is the best I could do.
If you're interested in my modifications I can upload it somewhere for you.
Posts: 27
Yeah I would be very keen to see what you have come up with.
If you zip your files up, you can then upload them to this thread using the file attachment option at the bottom of the screen.
regards,
http://retroguy.org
Posts: 27300
Adding JS to the head tags is done via a helper:
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 8
Here's the modified file, there are only a couple of lines changed, so not a huge change.
Posts: 27
Here's mine (albumtree_block_menu.html_.zip). U/L to your
albumtree -> views
folder and then change your advanced config settings to 'menu'.Creates an unordered list that can be targeted with css. NOTE: this is not a recursive function, nor is it semantic HTML*.
* I have a script that is both of these (see attachment 'multilist'). If you know how to convert this to run in G3 I'd be happy to share. (coz I sure as hell can't get it to run in kohana/g3)
regards,
http://retroguy.org