Trying to implement an asset lister that allows the user to filter news assets based on their created month and year.
Can sort on created date fine and paginate the results but have no idea if we can do something like this…
http://www.stirling.gov.uk/news
in matrix
This can be done using 2 separate metadata fields:
1 for Month and 1 for Year
Then use a search page that can be searched on both or either of the metadata fields
Dave
Dave, long time no speak. Thanks for that pedantic Twitter the other day
!
Just wondering how you see this working - do you automatically add the metadata with trigger on asset creation?
Hi Duncan
See image for settings
This I would then set the same for Month
On the Search page the only Date criteria world be Year and the second field Month
Dave
metadata_settings.png (58 KB)
I've always wanted to have the following ability - I've been told it's not possible.
I would like two input fields - both dates - where you select a START DATE (DD/MM/YYYY) and an END DATE (DD/MM/YYYY) and click search.
The result would be a list of all assets created between those dates.
Possible?
Hi Duncan
Do you mean by this that you want to show assets between a date range?
When I started writing this I thought you can use a What's New page, but that only allows fixed date ranges
I will continue to think about this
and update appropriately
Dave
Correct. Set two parameters, click search, receive assets from between parameters.