- Issue created by @thisisalistairsaccount
When creating a new menu in a site using the base CivicTheme (not a subtheme) and then placing it in one of the Footer menus and looking to apply civictheme_footer in the Theme hook suggestion field under the HTML style and options hides the menu.
Not applying a hook theme suggestion or something that doesn't exist, will have the footer show, but isn't rendered in the list of the other footers.
Applying a different theme hook suggestion like civictheme_secondary_navigation or civictheme_secondary_navigation will apply the relevant theme hooks from the site branding set in the site.
Install locally GovCMS via https://github.com/govCMS/scaffold and configure site as SaaS. As of time of writing, the GovCMS version is 3.13.0 (Drupal version is 10.2.6) and scaffold is 3.3.0
Manually add theme to themes folder in site
Enable the required modules via drush drush pm:enable components inline_form_errors rest field_group layout_builder_restrictions linkit menu_block paragraphs redirect webform
Install the theme, drush pm:enable civictheme
noting outstanding issues with "The "civictheme_one_column" plugin does not exist" . Set theme as default drush theme:enable civictheme
Clear site cache with drush cr
Browse to Home of site to confirm theme is installed
Browse to Appearance then Settings on CivicTheme 1.7.1
Open Content provisioning. Retain all settings that are checked and click Provision content
Run separate drush cr
just in case :)
Browse to Home of site confirm items have been provisioned
Browse to Structure > Menus > Add menu
You can adjust the theme hook suggestion to civictheme_secondary_navigation or civictheme_secondary_navigation and the relevant theming applied from the navigation for those links will appear with the menu. While it does show that the menu can appear, it doesn't align to the expected layout and colour scheme for the footer.
You can also adjust the menu level for Initial visibility level to 2 which does seem to assist in serving the menu with civictheme_footer as the hook suggestion but that level impacts links displayed depending on depth of pages within the site and isn't ideal for something like a footer.
Active
1.7
Code