Display sub-albums under the main gallery

echo-creations

Joined: 2012-08-07
Posts: 6
Posted: Sun, 2012-08-12 12:09

Hello,
I have my gallery configured so user can add new albums as sub album to their personnal one.
Is there a way I can override the root gallery controller so it will display main/sub album indictinctivly ?
Something Like this :

-Main Gallery
----Album1
----Album2
----Sub-Album1
----Sub-album2
----Album3
etc...

Thanks a lot!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2012-08-12 22:58

I need a better user story and/or graphic to understand what you are after.

How about the user_homes module?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
echo-creations

Joined: 2012-08-07
Posts: 6
Posted: Mon, 2012-08-13 10:55

user_homes let user define what root gallery display when they log in, that's not exactly what I'm after.

What I would like is to have all albums displays by creation date regardless their position in the tree structure.

Something like a "SQL 'SELECT * FROM item WHERE type=album ORDER by creation_date" so album and sub album would display side by side.

I think I can maybe achieve that by modifying the organize module, but I admit I'm quite confused by the complexity of it, so I was hoping their was a simpler way to achieve that.

Hope it makes sense

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Mon, 2012-08-20 15:59

If that's the goal, why make them subalbums in the first place? Can't you just move the albums so that they're all in the root album (and thus at the same level)?