Discussions

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

Posted: May 2, 2013

Comments

paultrotter50 on October 8, 2013

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; */ ?>