Paragraph Type NCIDS Dynamic List - NCIOCPL/cgov-digital-platform GitHub Wiki
The NCIDS Dynamic List allows advanced editors or site admins to display a Drupal View within a page
An NCIDS Dynamic List can be placed in:
- NCIDS 2 Column Container on Home & Landing Pages - Main Contents
- Mini Landing Pages
Properties
- Display Name: NCIDS Dynamic List
- Machine-readable Name: ncids_dynamic_list
Fields
List Title
- Field Name: field_list_title (existing field)
- Label: Title
- Type: Text (plain)
- Required: No
- Max Characters: 255
- Tooltip Text: The title of the list added to the NCIDS Dynamic list.
- Cardinality: 1
- Translatable: Yes
Source View
- Field Name: field_source_view
- Label: Source View
- Type: Dropdown
- Options: (set from the Views)
- Archive
- External authentication links
- Content blocks
- Block Content Browser
- Blog RSS
- Blog Posts
- Blog Browser
- Events
- Image Media Browser
- Infographic Media Browser
- Media Browser
- Video Browser
- Content
- Recent content
- Files
- Frontpage
- Glossary
- Media
- Moderated content
- Moderated media
- PDQ CIS Browser
- Press Releases
- Press Release RSS
- Redirect
- SAML Authentication Links
- Site Section Browser
- Taxonomy Term
- People
- Who's new
- Who's online block
- Options: (set from the Views)
- Required: Yes
- Max Characters: 255
- Tooltip Text: The source Drupal View for the items to display.
- Cardinality: 1
- Translatable: No
Display
NOTE: This field only displays once you have chosen a Source View.
- Type: Dropdown
- Options: see table. Only Views that have Display options are listed. If the View is not listed, it does not have any display options.
Source View | Display Options |
---|---|
Archive | Block |
Blog RSS | "Debug All", "Debug Series Filter", "Debug Series Topic Filter", "Debug Topic Filter" |
Blog Posts | "List-Thumb", "List-No-Thumb" |
Events | "Upcoming Events", "Previous Events" |
Recent content | "Block" |
Press Release | "NCIDS Collection Condensed", "Home List Block", "Archive Block", "NCIDS Collection Media" |
Press Release RSS | "Block" |
Who's new | "Who's new" |
Who's online block | "Who's online" |
- Required: Yes
- Max Characters: N/A
- Tooltip Text: N/A
- Cardinality: 1
- Translatable: Yes
Options
NOTE: These fields only display once you have chosen a Source View.
Include View Title
- Label: Include View Title
- Type: Checkbox
- Required: No
- Max Characters: N/A
- Tooltip Text: N/A
- Cardinality: 1
- Translatable: Yes
Items Per Page
- Label: Items Per Page
- Type: Text input (plain)
- Required: No
- Max Characters: N/A
- Tooltip Text: N/A
- Cardinality: 1
- Translatable: Yes
Pagination
- Type: Dropdown
- Default Settings
- Full Pager
- Mini Pager
- Hide Pager (display a fixed number of items)
- Hide Pager (display all items)
- Required: No
- Max Characters: N/A
- Tooltip Text: N/A
- Cardinality: 1
- Translatable: Yes
Argument
- Label: Include View Title
- Type: Text input (plain)
- Required: No
- Max Characters: N/A
- Tooltip Text: N/A
- Cardinality: 1
- Translatable: Yes
View More Text
- Field Name: field_view_more_text (existing field)
- Label: Title
- Type: Text (plain)
- Required: No
- Max Characters: 50
- Tooltip Text: Used only on Press Releases. Text for button linking to all content within the dynamic list.
- Cardinality: 1
- Translatable: Yes
View More Link
- Field Name: field_view_more_link (existing field)
- Label: View More Link
- Type: Entity Reference to Content
- Field Widget: Entity Browser field
- Selection Display: Rendered Entity using Entity Browser Selected Entity
- Required: No
- Tooltip Text: Used only on Press Releases.
- Cardinality: 1
- Translatable: No
Form Display Order
- List Title
- Source View
- Display (once Source View is chosen)
- Options (once Source View is chosen)
- Include View Title
- Items per page
- Pagination
- Argument
- View More Text
- View More Link