Commerce Kickstart disable main menu and breadcrumb
Hello,
I'm using CK in light store mode.
I have trouble replacing the main menu (I want to replace it mainly because it doesn't support sub level items, correct me if I'm wrong).
Fact is it can't be desactivated in the block view because... it's not activated by default !! But it is still displayed on the site.
Same for breadcrumb.
When I activate the main menu in the block view, I end up with 2 main menus.
What kind of sorcery is this ? How to get rid of this ?
Thanks a lot
Comments
Answer to myself : the menu
Answer to myself : the menu is hard-coded in the override of region--menu.tpl.php in the omega-kickstart theme.
Thanks
Yep that worked for me too.
So for anybody needing help with this you find the region--menu.tpl.php file then comment out the menus like this
<!-- commenting out the hard coded omega kickstart menus -->
<?php /* print theme('links__system_main_menu', array('prefix' => '<div>', 'links' => $main_menu, 'attributes' => array('id' => 'main-menu', 'class' => array('links', 'inline', 'clearfix', 'main-menu')), 'heading' => array('text' => t('Main menu'),'level' => 'h2','class' => array('element-invisible')))); ?>
</div>
<div class="second-menu inline">
<?php print theme('links__system_secondary_menu', array('links' => $secondary_menu, 'attributes' => array('id' => 'secondary-menu', 'class' => array('links', 'inline', 'clearfix', 'secondary-menu')), 'heading' => array('text' => t('Secondary menu'),'level' => 'h2','class' => array('element-invisible')))); ?>
</div>
</nav>
<?php endif; */ ?>
Easy way to remove the default nav menu bar on kickstart theme
Just go to Site Settings> Appearance> Omega Kickstart Theme "Settings" > Scroll down til you get to the "Toggle Display" box, the list of items that can be disabled "logo", "site name", "site slogan", "main menu", etc...
Disable the main menu and/or secondary menu there. Lots easier than editing code.