#1370 - Upgrade to main_recent_galleries block

This is a spacer post for a website comment topic. The content this topic relates to: #1370 - Upgrade to main_recent_galleries block
Hi,

I have put 1 hour on this, because it's a fairly simple change. However, I believe we'll be dropping this block in v10 in favour of allowing main_multi_content to be more flexible. For 1.5 hours (i.e. extra 0.5 hours) we'd update the main_multi_content block in v10 (ready for when that is released), so that that can do it for all content types.
I've attached a sources/blocks/main_recent_galleries.php file. This does the sorting by recency of constituent images/videos. I haven't parameterised this, so the new sorting behaviour simply replaces the old one. It sorts based on direct entries of the gallery, not deeper entries - as I think we would not want the whole parent tree showing as updated.

(Rishi, I haven't uploaded this for you: as it's a simple upload, I thought it best you upload at your convenience so it kicks in exactly when you expect it to)

Equivalent functionality in main_multi_content will be added in v10. That will be parameterised.
very good, working well, thank you
0 guests and 0 members have recently viewed this.