Sub-Albums visible in albums parent

RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Tue, 2005-01-11 11:43

Hello, I was wondering if you think it is interesting to display the top 3 sub-albums of an album with the album display in its parent.

Sounds confusing? This is an example of what I mean: http://demo.4homepages.de/?l=english

In this case the Album would be "Objekte"
The parent of the album is the page I linked to
and the top 3 sub-albums are: "Unterkategorie" and "Unterkategorie2"

In this case there are only 2 sub-albums, butI think 3 would be nice.

It results in a faster click through because I myself have main categories in which I create the new categories for display. A user comming to my website interested in "Unterkategorie2" would have to first click "Objekt" (not to mention figuring out to click that to reach the result) and when that page has loaded click "Unterkategorie2".
If subcategories are also listed this step can be skipped.

I would think you can build this in as an optional feature!

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2005-01-13 07:37

Gallery has plug-n-play layouts that will let us completely reproduce the look of that page. It would not be all that hard. Any volunteers? We'll give guidance, but the core team is busy with a lot of other stuff right now...

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Tue, 2005-03-29 10:21

Long time since I've been here or looked at the code of G2.

What would be required to write the layout plugin?

(And what about the theme? is that all css?)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-03-29 16:27

a layout has some php code which loads the data required to display each page, then tpl/css to render the pages. themes have css for fonts,colors,etc.
look at classic or siriux layouts.. these extend matrix layout to modify the functionality in some way.. you could do something similar.
another possibility for this particular change would be a module that implements the getItemSummaries api.. for example the comments module uses this so it shows the number of comments below each thumbnail.