
Originally Posted by
cspgsl
I wish to remove menu choices from the main nav menu at the top of my page. I have read about changing menu names but nothing about removing any of the choices
If you go to
Scumbee I want to remove New Products and Specials from the menu
Thanks
As you are using the PURE_BLUE template, you have to manually edit the following file:
includes/templates/pure_blue/templates/tpl_top_nav.php
Do not DELETE the relevant lines... Just COMMENT them out.
They currently look like this:
Around Lines 22 to 32
PHP Code:
<?php
if ($current_page_base == 'products_new') { $active = 'tab_active';
} else { $active = '';
}?>
<li id="<?php echo $active;?>"><a href="index.php?main_page=products_new"><?php echo TOP_MENU_NEW_PRODUCTS;?></a></li>
<?php
if ($current_page_base == 'specials') { $active = 'tab_active';
} else { $active = '';
}?>
<li id="<?php echo $active;?>"><a href="index.php?main_page=specials"><?php echo TOP_MENU_SPECIALS;?></a></li>
Just add COMMENT tags (<!-- DISABLED START ... DISABLED END -->) as seen below:
HTML Code:
<!-- DISABLED START<?php
if ($current_page_base == 'products_new') { $active = 'tab_active';
} else { $active = '';
}?>
<li id="<?php echo $active;?>"><a href="index.php?main_page=products_new"><?php echo TOP_MENU_NEW_PRODUCTS;?></a></li>
<?php
if ($current_page_base == 'specials') { $active = 'tab_active';
} else { $active = '';
}?>
<li id="<?php echo $active;?>"><a href="index.php?main_page=specials"><?php echo TOP_MENU_SPECIALS;?></a></li> DISABLED END -->