Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDSS-1299: Explore More Improvements #461

Closed
wants to merge 10 commits into from
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,8 @@ third_party_settings:
- 'Content fields'
- 'Custom block types'
- 'Custom blocks'
- Devel
- 'Devel PHP'
- Editoria11y
- 'Events Lists (Views)'
- Forms
Expand Down Expand Up @@ -417,6 +419,10 @@ third_party_settings:
- 'field_block:user:user:uid'
- 'field_block:user:user:status'
allowlisted_blocks:
'Lists (Views)':
- 'views_block:explore_more_news-explore_more_other'
- 'views_block:explore_more_news-explore_more_curated'
- 'views_block:explore_more_news-explore_more_random'
Menus:
- 'menu_block:stanford-event-types'
- 'system_menu_block:stanford-event-types'
Expand All @@ -437,10 +443,11 @@ third_party_settings:
- 'Changelog (Views)'
- 'Chaos Tools'
- 'Config Pages'
- Devel
- 'Devel PHP'
- Editoria11y
- Forms
- Help
- 'Lists (Views)'
- 'Policy (Views)'
- Printable
- React
Expand All @@ -450,7 +457,7 @@ third_party_settings:
- User
- Views
layout_library:
enable: false
enable: true
id: node.stanford_news.default
targetEntityType: node
bundle: stanford_news
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,300 @@
uuid: 5d049c6c-61e7-47fd-b79e-7171ee6a7f6a
langcode: en
status: true
dependencies: { }
id: sdss_stanford_news_explore_more
label: 'Related Content in Explore More'
targetEntityType: node
targetBundle: stanford_news
layout:
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: Header
context_mapping: { }
extra_classes: 'section-header section-header--newsroom'
centered: centered-container
columns: flex-12-of-12
components:
c909ce71-8cb3-42f5-a9b5-f4ca684e87ca:
uuid: c909ce71-8cb3-42f5-a9b5-f4ca684e87ca
region: main
configuration:
id: 'views_block:stanford_news-topics_list'
label: ''
label_display: '0'
provider: views
context_mapping: { }
views_label: ''
items_per_page: none
exposed: { }
weight: 0
additional: { }
437c060a-9263-4b54-bb6c-86b2a7c389cb:
uuid: 437c060a-9263-4b54-bb6c-86b2a7c389cb
region: main
configuration:
id: 'field_block:node:stanford_news:title'
label: Headline
label_display: '0'
provider: layout_builder
context_mapping:
entity: layout_builder.entity
view_mode: view_mode
formatter:
type: entity_title_heading
label: hidden
settings:
tag: h1
third_party_settings:
empty_fields:
handler: ''
field_formatter_class:
class: su-news-title
weight: 1
additional: { }
98d84fd1-d295-4782-ac09-25bf6e184d7f:
uuid: 98d84fd1-d295-4782-ac09-25bf6e184d7f
region: main
configuration:
id: 'field_block:node:stanford_news:su_sdss_news_dek_long'
label: Dek
label_display: '0'
provider: layout_builder
context_mapping:
entity: layout_builder.entity
view_mode: view_mode
formatter:
type: text_default
label: hidden
settings: { }
third_party_settings:
empty_fields:
handler: ''
field_formatter_class:
class: ''
weight: 2
additional: { }
third_party_settings: { }
-
layout_id: stanford_news_byline
layout_settings:
label: 'Byline & Social Media'
context_mapping: { }
components:
1e4fd69b-13b1-4691-9473-ac6398111f54:
uuid: 1e4fd69b-13b1-4691-9473-ac6398111f54
region: su_news_publishing_date
configuration:
id: 'field_block:node:stanford_news:su_news_publishing_date'
label: 'Publishing Date'
label_display: '0'
provider: layout_builder
context_mapping:
entity: layout_builder.entity
view_mode: view_mode
formatter:
type: datetime_default
label: hidden
settings:
timezone_override: ''
format_type: stanford_month_date_year
third_party_settings:
empty_fields:
handler: ''
field_formatter_class:
class: su-news-publishing-date
weight: 0
additional: { }
5696c1e6-36f4-4a30-8d97-3bd5ce0c02b7:
uuid: 5696c1e6-36f4-4a30-8d97-3bd5ce0c02b7
region: su_news_publishing_date
configuration:
id: 'field_block:node:stanford_news:su_news_byline'
label: Byline
label_display: '0'
provider: layout_builder
context_mapping:
entity: layout_builder.entity
view_mode: view_mode
formatter:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings:
empty_fields:
handler: ''
field_formatter_class:
class: su-news-byline
weight: 1
additional: { }
third_party_settings: { }
-
layout_id: defaults
layout_settings:
label: 'Banner Media'
context_mapping: { }
extra_classes: section-banner-media
centered: centered-container
columns: default
components:
b8018e5f-1bf7-4c23-98b3-bf13f35c7093:
uuid: b8018e5f-1bf7-4c23-98b3-bf13f35c7093
region: main
configuration:
id: 'field_block:node:stanford_news:su_news_banner'
label: 'Banner Media'
label_display: '0'
provider: layout_builder
context_mapping:
entity: layout_builder.entity
view_mode: view_mode
formatter:
type: media_multimedia_formatter
label: hidden
settings:
image:
image_formatter: responsive_image_style
image_formatter_image_style: large
image_formatter_responsive_image_style: card_2_1
image_formatter_view_mode: default
video:
video_formatter: entity
video_formatter_view_mode: default
other:
view_mode: default
vt_settings:
settings__formatter__settings__vt_settings__active_tab: edit-image
third_party_settings:
empty_fields:
handler: ''
field_formatter_class:
class: su-news-banner
weight: 0
additional: { }
fb08ef79-ee2c-4c2d-a592-7d736304a5af:
uuid: fb08ef79-ee2c-4c2d-a592-7d736304a5af
region: main
configuration:
id: 'field_block:node:stanford_news:su_news_banner_media_caption'
label: 'Banner Caption'
label_display: '0'
provider: layout_builder
context_mapping:
entity: layout_builder.entity
view_mode: view_mode
formatter:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings:
empty_fields:
handler: ''
field_formatter_class:
class: su-news-banner-media-caption
weight: 1
additional: { }
third_party_settings: { }
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: Components
context_mapping: { }
extra_classes: section-components
centered: centered-container
columns: flex-12-of-12
components:
cca850d6-e2de-479e-a5e7-1a125d519781:
uuid: cca850d6-e2de-479e-a5e7-1a125d519781
region: main
configuration:
id: 'field_block:node:stanford_news:su_news_components'
label: Paragraphs
label_display: '0'
provider: layout_builder
context_mapping:
entity: layout_builder.entity
view_mode: view_mode
formatter:
type: layout_paragraphs
label: hidden
settings:
view_mode: default
third_party_settings:
empty_fields:
handler: ''
field_formatter_class:
class: su-news-components
weight: 0
additional: { }
296a75d1-5b08-48bc-948d-ff6d2aaa20a7:
uuid: 296a75d1-5b08-48bc-948d-ff6d2aaa20a7
region: main
configuration:
id: 'field_block:node:stanford_news:su_sdss_media_contacts'
label: 'Media Contacts'
label_display: visible
provider: layout_builder
context_mapping:
entity: layout_builder.entity
view_mode: view_mode
formatter:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: default
third_party_settings:
empty_fields:
handler: ''
field_formatter_class:
class: ''
weight: 1
additional: { }
third_party_settings: { }
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: 'Subscribe Form'
context_mapping: { }
extra_classes: section-subscribe-form
centered: centered-container
columns: default
components:
92a508bb-4764-4c9c-9940-de489e5713f3:
uuid: 92a508bb-4764-4c9c-9940-de489e5713f3
region: main
configuration:
id: signup_block
label: 'Newsletter Signup'
label_display: '0'
provider: stanford_news
context_mapping: { }
form_action: ''
weight: 0
additional: { }
third_party_settings: { }
-
layout_id: jumpstart_ui_one_column
layout_settings:
label: ''
context_mapping: { }
extra_classes: ''
centered: centered-container
columns: flex-12-of-12
components:
c7cb8d2c-777b-46a1-a227-fff3829d5cce:
uuid: c7cb8d2c-777b-46a1-a227-fff3829d5cce
region: main
configuration:
id: 'views_block:explore_more_news-explore_more_curated'
label: 'Explore More'
label_display: visible
provider: views
context_mapping: { }
views_label: 'Explore More'
items_per_page: none
weight: 0
additional: { }
third_party_settings: { }
Loading
Loading