Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There have been some minor changes to the GCWeb theme:
Comment | File | Size | Author |
---|---|---|---|
#2 | update_to_gcweb_footer-2799287-2.patch | 9.61 KB | sylus |
Comments
Comment #2
sylus CreditAttribution: sylus commentedAlright I have attached a patch that does a few things:
a) Alter the panels--page--gcweb.tpl.php + page--gcweb.tpl.php to the new markup:
i) Add new menu region that exists in other themes
print $page['menu_terms_bar'];
(this will be the new bottom footer for gcweb)b) wetkit_bootstrap_menu_link__menu_block__mid_footer_menu has been modified to keep existing logic for all themes except for gcweb which has had it logic adjusted to adhere to new markup + flat structure of list items.
So in the end with this patch the markup is aligned to output correctly but the links will need to be manually changed to reflect modified gcweb links which can simply be done through UI.
Comment #3
sylus CreditAttribution: sylus commentedComment #5
sylus CreditAttribution: sylus commentedComment #6
lampson CreditAttribution: lampson commentedI have tested this and it works but I had to add the same footer markup to our bootstrap theme (page and panel tpl files) as we override wetkit_bootstrap. The menu "menu-wet-terms" gets reused which is nice so no additional menus need to be created. This change will match wet 4.0.22-stable (http://wet-boew.github.io/wet-boew/docs/versions/dwnld-en.html#v40stable). Thanks!
Comment #8
sylus CreditAttribution: sylus commentedI have added additional migrate config that is gcweb specific so if a user is currently using the gcweb variant as active theme, the migration for WetKitMigrateSiteMenu will switch to the gcweb links instead of the default. Here is the logic which affects the xpath selector againt the migrate_site_menu.xml under wetkit_migrate.
Then a simple drush mi WetKitMigrateSiteMenuLinks will add the new menu links.
Commit is here:
http://cgit.drupalcode.org/wetkit_migrate/commit/?id=62436d75c226c6b919d...
Please don't forget to clear the WxT specific render caches as well afterwards @ admin/config/development/performance