View Issue Details

IDProjectCategoryView StatusLast Update
2086Composrcorepublic2022-08-15 02:18
ReporterChris Graham Assigned ToGuest  
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary2086: Manual reordering of content / Pinning
DescriptionCurrently content is ordered either via:
 - Hard coded assumption (e.g. for download categories it probably makes no sense to order by anything other than title, so we hard-code it to avoid bloat)
 - A *_default_sort_order config option with ability to override in UI
 - A *_sort_order config option (no ability to override in U)I
 - Catalogue category sort order is defined as above but per-catalogue
 - Catalogue entry order is defined by a choice of which catalogue field to order by

It is conceivable that individual content items may want to be given a custom order. This is not possible for anything currently except catalogue entries.
Manual ordering specialises into 3 cases:
1) No override (null order value) - uses ordering as defined in cases above
2) Override to a precedence value
3) Override to a negative value - displayed specially as "pinning"

The new ordering field would override any user-chosen/automatic sorting, notably:
 - main_multi_content (i.e. main content listings while browsing)
 - module content listing code that isn't already generated via main_multi_content
 - ajax_tree hooks (i.e. tree browse widget), and <select>-style selection lists
 - sitemap generation (i.e. menus etc)

An index would be needed for any new ordering field.

For pinning all the content box templates would have a "PINNED" parameter and show a pin icon (same as forum) for any pinned item.

We'd want to implement for: images, videos, galleries, download categories, downloads, catalogue categories, polls, news categories, news, quizzes.

I am skeptical whether we should implement this stuff, as it will bloat stuff up. We will be able to achieve announcements in various ways already (e.g. there's a config option to display one), we can have stuff pinned in main_multi_content etc (3354), we have pinning especially for the forum, we have awards which case be built into templates; I don't think it really needs to be available as a general-purpose feature. Sure there are use cases - e.g. sponsored promotion, but that can be handled with banners anyway.

And if we do it we'll want to integrate with 786 to make this user-friendly, which will be a lot of work.
TagsNo tags attached.
Attach Tags
Time estimation (hours)70
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Relationships

related to 3557 Not AssignedGuest Allow *_default_sort_order config options to be overridden per category 
related to 786 Not AssignedGuest Drag and Drop reordering 

Activities

There are no notes attached to this issue.

Add Note

View Status
Note
Upload Files
Maximum size: 32,768 KiB

Attach files by dragging & dropping, selecting or pasting them.
You are not logged in You are not logged in. This means you will not get any e-mail notifications. And if you reply, we will not know for sure you are the original poster of the issue.

Issue History

Date Modified Username Field Change
2019-07-31 19:28 Chris Graham Relationship deleted related to 786
2019-07-31 19:32 Chris Graham Relationship added related to 786
2019-07-31 19:32 Chris Graham Relationship added related to 3557
2019-07-31 19:46 Chris Graham Summary Pinned content (ordering) => Manual reordering of content / Pinning
2019-07-31 19:46 Chris Graham Description Updated
2019-07-31 19:46 Chris Graham Time estimation (hours) 5 => 70
2022-08-15 02:18 Chris Graham Description Updated