Asset listing page grouping


(Tony Kidman) #1

Hi all,

 

I am wanting to put together an asset listing of single calendar events and was looking to group these by year then month.  However when I apply group options to the listing I get the listing but the items are grouped:

 

Year

  - month

        event item

Year   - month

        event item

 

but, what I want is:

 

Year
  - month
        event item
        event item
  - month
        event item
        event item

 

I have applied two group options to the listing

  1.  Group_listing_1: Keyword
    •  Keyword event_start_datetime_Y
  2. Group_listing_2: Keyword - after
    • Keyword event_start_datetime_m

The reason for this is that I have applied a jquery filter to dynamically filter the results from the page without the page needing to reload based on metadata values.  I also want to achieve this without having to put items into folders if that is also a viable option.

 

Group 1

group_name

asset_listing

 

Group 2

group_name

asset_listing

 

Is any of this correct or should I group the month items first then the years in ascending order? If not should I use folders to create the listings as I am not limiting the listing on the page?

 

Any and all help appreciated.


(Anewport) #2

Tonkle it sounds like you have everything set up fine - I just tested with your settings and had no issues for the output you were after.

 

The only difference (not sure if it was a typo on your part) is on my Group Level Format Bodycopy assets where the keywords I use are:

%group_name%

%group_listing%

Our system is currently 4.10.2 so if mine works and yours doesn't maybe there are system differences.


(Tony Kidman) #3

Thanks chickensoup!

 

For some reason it is now working - although I did change the group 1 layout - but just like my Gran always said 'a little chicken soup will solve what ails ya!'

 

Thanks