-
Notifications
You must be signed in to change notification settings - Fork 6
Featuring content on the group homepage
Joshua Mitchell edited this page Aug 20, 2018
·
2 revisions
An editor wants to be able to highlight content for their group. There are many ways to highlight content—a list of content, a single content item, etc. The goal is a flexible set of paragraphs (slices) that allows the editor to construct a homepage that highlights key content from their site or related programs and projects.
Every bureau/office, program or project has 3 basic elements to start: title, summary, contact info. Additional elements will be a combination of the following types of slices:
- add text and context to the group homepage—columns, text, images, video, quotes, etc.
- add featured content to the homepage using a "featured content" slice type
- add a featured group to the homepage using a "featured site" slice type
- add a list of content from the group, such as "featured news" or "featured events"
- if we are going to allow groups to add social media feeds, a slice type for those would be needed here
- Text
- Columns equal
- Image
- Video
- Featured content (new paragraph type with entity reference field to all content that has been marked with "feature this content" and has a feature image)
- Featured office, program, or project (new paragraph type with entity reference field to all groups)
- Latest featured news (new paragraph type that shows the last 5 news items and links to "More news from [group shortname])
- Latest featured events (new paragraph type that shows the next 5 events and links to "More events from [group shortname])
- Featured image
- Slices (paragraphs field similar to that on guides, news, events, etc.
- Feature this content (checkbox - condition for following fields) -- Featured image (should probably pull from image media library) -- Featured daterange (defaults to start now() and a default enddate of 30 days from now())
These should be broken down into multiple stories—at least one per new paragraph type, the a story to implement the overall paragraph field that needs to be added to all group types.