Skip to content

Commit

Permalink
fixed subsite navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Sep 10, 2024
1 parent 402e586 commit b74896b
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 3 deletions.
21 changes: 21 additions & 0 deletions config/sync/block.block.caw_theme_book_main_navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 5da6b0b6-3dc6-48a4-8ee2-be020ee36ce7
langcode: en
status: true
dependencies:
module:
- book
theme:
- caw_theme
id: caw_theme_book_main_navigation
theme: caw_theme
region: menu
weight: 0
provider: null
plugin: book_navigation
settings:
id: book_navigation
label: 'Book navigation'
label_display: '0'
provider: book
block_mode: 'book pages'
visibility: { }
2 changes: 1 addition & 1 deletion config/sync/block.block.caw_theme_pagetitle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ visibility:
id: request_path
negate: true
context_mapping: { }
pages: "/node/*\r\n/engage/news*\r\n/community/news*\r\n/people*\r\n/engage/events*\r\n/community/events*\r\n/event-series*\r\n/publications*"
pages: "/node/*\r\n/engage/news*\r\n/community/news*\r\n/people*\r\n/engage/events*\r\n/community/events*\r\n/event-series*\r\n/publications*\r\n/user/login"
response_code:
id: response_code
negate: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,42 @@ adding:
label_link: null
weight: 2
additional: { }
-
components:
e95176ee-5db9-4906-a260-5a00ba56ff52:
uuid: e95176ee-5db9-4906-a260-5a00ba56ff52
region: left
configuration:
id: subsite_menu_block
label: 'Subsite Menu block'
label_display: '0'
provider: caw_profile_helper
context_mapping: { }
block_mode: 'book pages'
weight: 1
additional: { }
layout_builder_restrictions:
allowed_block_categories:
- 'Benefits (Views)'
- CAW
- 'Career Celebrations (Views)'
- 'Custom Blocks'
- 'Layout Builder Block'
- Devel
- 'Devel PHP'
- 'Sweeteners (Views)'
entity_view_mode_restriction:
allowlisted_blocks:
'Custom Blocks':
- custom_markup
Menus:
- subsite_menu_block
restricted_categories:
- 'Benefits (Views)'
- CAW
- 'Career Celebrations (Views)'
- 'Changelog (Views)'
- 'Layout Builder Block'
- Devel
- 'Devel PHP'
- 'Sweeteners (Views)'
content:
su_page_components:
Expand Down

0 comments on commit b74896b

Please sign in to comment.