Album List
ryanstev
Joined: 2005-09-30
Posts: 8 |
![]() |
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. |
|
mamouneyya
Joined: 2009-11-02
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 |
|
ryanstev
Joined: 2005-09-30
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. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
I think there is an advance setting for change from a dropdown to a list. Dave |
|
Retroguy
![]()
Joined: 2010-12-29
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 to this [img]http://retroguy.org/dev/albumtree2.png[/img] regards, |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Codex page created: Dave |
|
ryanstev
Joined: 2005-09-30
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. |
|
Retroguy
![]()
Joined: 2010-12-29
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, |
|
ryanstev
Joined: 2005-09-30
Posts: 8 |
![]() |
I took out the height declaration in the CSS for the script and this makes the script look a lot better. |
|
ryanstev
Joined: 2005-09-30
Posts: 8 |
![]() |
I've made a modification to albumtree_block_list.html.php which outputs the data in a way I like. 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. |
|
Retroguy
![]()
Joined: 2010-12-29
Posts: 27 |
![]() |
Quote:
If you're interested in my modifications I can upload it somewhere for you. 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, |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Adding JS to the head tags is done via a helper: class theme_name_theme_Core { static function head($theme) { $theme->script("some_code.js"); } }
Dave |
|
ryanstev
Joined: 2005-09-30
Posts: 8 |
![]() |
Here's the modified file, there are only a couple of lines changed, so not a huge change. |
|
Retroguy
![]()
Joined: 2010-12-29
Posts: 27 |
![]() |
Here's mine (albumtree_block_menu.html_.zip). U/L to your 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, |
|