Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Content Types

Sara Cope edited this page Jun 9, 2020 · 5 revisions

Events

Fields:

  • Kicker -
    The kicker is the short descriptive text displayed above the title. Ex. "DAP LEARNING SERIES, 10X, OR VIDEO (the default once a youtube_id is added).

  • Topics -
    This field is a select list which allows you to pick topics from the ones available on the platform. Start typing in the topic and then choose from the list of items displayed to you. Do not enter a new topic here, only choose from the ones available. You can see the full list of current platform topics on the digital.gov topics page. A good practice is to look at a previous event that is similar and choose the same topics as that event.
    The topics that you choose here are used to populate the Event sidebar. If the sidebar area is blank, that means you need to go in and add topics to the event.
    If the topics don't pre-populate (shows No results found) when you start typing then it is likely that the topics API is broken and needs repaired. Please add a GitHub issue or post in slack.

  • Weight -
    In general, weight determines the visibility of the page on the platform. This behaves differently for each content type.

For events, adding a weight isn't needed. Events will display without a weight of 1. In fact, adding a weight of 1 to the events will actually cause some unwanted side effects where the event will appear at the end of the upcoming list instead of correct chronological order on the Events page.

For news, adding a weight isn't needed. News posts will display without a weight. Adding a weight of 1 to the new post will make it "sticky" on the home page. Meaning it will display above any other posts with no weight.

Clone this wiki locally