Content Type Mini Landing Page - NCIOCPL/cgov-digital-platform GitHub Wiki

NCIDS Mini Landing Page Components. The rest of this page may be outdated as of 2025.

Things to Discuss

  • Thumbnail card row/block – in removing lists, DCEG needs to migrate content to a mini landing page that does not display a thumbnail image crop. Can we have two options for this thumbnail card block (one that displays the image and one that does not)?
  • Remove Related Resources (as a navigation page, we shouldn't include this. If RR is needed, this should likely be an Article)
  • Potentially use paragraphs (and remove intro text field)

Naming

  • Display Name: Mini Landing Page
  • Machine-readable Name: cgov_mini_landing_page

Description

Landing page for lower-level content, which helps users navigate to child sections/pages through text and thumbnail cards. These pages can also feature timely content and announcements, either in a single call-out box or, if two items can be featured, using cards.

Fields

Common Fields

Page Style

  • Field Name: field_mlp_page_style
  • Label: Mini Landing Page Style
  • Type: Dropdown
    • Standard (Default)
    • NCIDS
  • Required: Yes
  • Max characters: N/A
  • Tooltip Text: Select a template for the page
  • Cardinality: 1
  • Translatable: No

Paragraph Types (reuse from home and landing pages?)

Banner Image Size

Recommended Size: 970x230px

Banner Image (aka Body Header slot)

  • Field Name: field_banner_image
  • Label: Banner Image
  • Type: Image Upload
  • Required: no
  • Tooltip Text: n/a
  • Cardinality:
  • Translatable:

Contents

Raw HTML Content Block

  • Display Name: Raw Html Content
  • Machine-readable Name: cgov_card_raw_html
  • Description: Raw HTML to be used as a Card or content in a Column.
  • Fields
    • HTML Content
      • Field Name: field_html_content
      • Label: HTML Content
      • Type: Full HTML Field
      • Required: No
      • Max characters: N/A
      • Tooltip Text:
      • Cardinality: 1
      • Translatable: No

Internal Promotional Card

This is used for both Primary feature, Secondary feature and thumbnail cards to promote content from within the web site.

  • Display Name: Promo Card
  • Machine-readable Name: cgov_card_internal
  • Description: Feature content in a card display.
  • Fields
    • Override Card Title
      • Field Name: field_override_card_title
      • Label: Override Card Title
      • Type: Text (plain)
      • Required: No
      • Max characters: 100
      • Tooltip Text: Used to override the page's card title. Leave blank if no need to override.
      • Cardinality: 1
      • Translatable: No
    • Override Card Description
      • Field Name: field_override_card_description
      • Label: Override Card Description
      • Type: Text (plain)
      • Required: No
      • Max characters: 255
      • Tooltip Text: Used to override the page's card description. Leave blank if no need to override.
      • Cardinality: 1
      • Translatable: No
    • Featured Item
      • Field Name: field_featured_item
      • Label: Featured Item
      • Type: Entity Reference
        • Use Content Browser
        • Allowed Types:
          • Nodes - If we limit the types, then we will have issues with sub-profiles needing to control what is allowed. So we should NOT limit the Node type - then it will allow whatever types exist in the profile.
      • Required: Yes
      • Max characters: N/A
      • Tooltip Text:
      • Cardinality: 1
      • Translatable: No

External Promotional Card

This is used for both Primary and Secondary feature cards to promote content outside of the web site. NOTE: This uses the same override fields as above to hopefully simplify templates used for the cards.

  • Display Name: External Promo Card
  • Machine-readable Name: cgov_card_external
  • Description: Featured external content in a card display.
  • Fields
    • Card Title
      • Field Name: field_override_card_title
      • Label: Card Title
      • Type: Text (plain)
      • Required: No
      • Max characters: 100
      • Tooltip Text:
      • Cardinality: 1
      • Translatable: No
    • Card Description
      • Field Name: field_override_card_description
      • Label: Card Description
      • Type: Text (plain)
      • Required: No
      • Max characters: 255
      • Tooltip Text:
      • Cardinality: 1
      • Translatable: No
    • Promotional Image
      • Field Name: field_image_promotional
      • Label: Promotional Image
      • Type: Entity Reference
        • Allowed Content
          • cgov_image
      • Required: Yes
      • Max characters:
      • Tooltip Text:
      • Cardinality: 1
      • Translatable: No
    • Featured Item Url
      • Field Name: field_featured_url
      • Label: Featured Item Url
      • Type: Text (plain)?? or Link?
      • Required: Yes
      • Max characters: N/A
      • Tooltip Text:
      • Cardinality: 1
      • Translatable: No

View Block

  • Display Name: View Display
  • Machine-readable Name: cgov_card_view
  • Description: Dynamic listing of content to be used as a Card or content in a Column.
  • Fields
    • View Content
      • Field Name: field_view
      • Label: View Content
      • Type: Views Reference
      • Required: No
      • Max characters: N/A
      • Tooltip Text:
      • Cardinality: 1
      • Translatable: No

List (previously known as thumbnail cards; works like home/landing pages)

List has:

  • Heading (optional)
  • Display Option — display with thumbnail image crop or without image
  • Items - one or more of:
    • Managed List Item
    • External List Item
    • Media List Item
  • Field Name: field_thumbnail_cards <-- BRYAN TO UPDATE NOW THAT THE NAME HAS CHANGED
  • Label: List
  • Type:
  • Required:
  • Tooltip Text:
  • Cardinality:
  • Translatable: No

Meta Data

Common Metadata

TBD

Local Metadata

TBD

Form Display Order

How the fields should display on the form

  • Language
  • Site Section
  • Pretty URL
  • Page Title
  • Browser Title
  • Card Title
  • Meta Description
  • List Description
  • Feature Card Description
  • Promotional Image
  • Banner Image
  • Contents
  • Posted Date
  • Updated Date
  • Reviewed Date
  • Date Display Mode
  • Search Engine Restrictions

Page Display

https://hzgfzw.axshare.com/#g=1&p=mini_landing_page_v1 https://hzgfzw.axshare.com/#g=1&p=mini_landing_page_v2 https://hzgfzw.axshare.com/#g=1&p=mini_landing_page_v3

Example URLs

⚠️ **GitHub.com Fallback** ⚠️