Closed (fixed)
Project:
Web Experience Toolkit (7.x)
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2016 at 14:04 UTC
Updated:
27 Oct 2016 at 17:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
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 commentedComment #5
sylus commentedComment #6
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 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