CU-CommunityApps / cwd_project

A starter child theme for cwd_base, providing just the basics for beginning a custom Drupal design.
1 stars 0 forks source link

first draft re-order of block regions #18

Closed alisonjo315 closed 2 years ago

alisonjo315 commented 3 years ago

Closes #17

Available for review on CD Demo "alison" multidev: https://alison-cd-demo.pantheonsite.io/

(I checked that no blocks were lost or re-ordered, nor were any config changes needed. Templates don't need updating, either, because the regions haven't changed, just the order of the regions as shown in Drupal admin UI.)

alisonjo315 commented 3 years ago

@ama39 Could you please look at this region order, and tell me if it correctly reflects the order we render block regions (by default / on CD Demo)? -- here's the updated version of cwd_project.info.yml, or, I've pasted the regions: section here in this comment:


# These regions match the base theme, but will fully override the base theme's definitions. As such, you can add or remove regions as needed.
regions:
  nav_main: 'Main Navigation'
  nav_utility: 'Utility Navigation'
  nav_breadcrumb: 'Breadcrumb navigation'
  content_header: 'Content Header'
  content: 'Content'
  content_footer: 'Content Footer'
  sidebar_primary: 'Primary Sidebar (Top)'
  sidebar_secondary: 'Secondary Sidebar (Bottom)'
  supplementary: 'Supplementary Region 1'
  supplementary2: 'Supplementary Region 2'
  footer_primary: 'Primary Footer Region'
  footer_secondary: 'Secondary Footer Region'
  subfooter: 'Subfooter'