How to Disable header menu..?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
Hi.,

i downloaded NopCategoriesHeaderMenu_2.6 and using it on my application.., it showing Categories(BOOKS,COMPUTERS, ELECTRONICS,etc..) as the menu in the list order..  i wants to hide the headermenu (i.e. HOME PAGE,NEW PRODUCT,SEARCH, MY ACCOUNT, BLOG, CONTACT US) from the master page and and like to show this NopCategoriesHeaderMenu_2.6(Categories list) as header menu along with search box in that place instead of the normal header menu. what and where i have to code for it..?  is there is any settings or option in admin part for hide those header menu(i.e. HOME PAGE,NEW PRODUCT,SEARCH, MY ACCOUNT, BLOG, CONTACT US) from the application..? I am using Nopcommerce2.60 version..

Anyone help me., i am very new to MVC application....

Thanks in advance...
11 years ago
If I understand correctly, you may be able to simply comment out the lines in Views/Shared/HeaderMenu.cshtml that pull in the searchbox and header.
11 years ago
Please comment the lines displaying the header menu:)
11 years ago
can any one help me getting the download link for  catagories hedar menu for  nop commerce v2.3
11 years ago
vrchintamani90 wrote:
can any one help me getting the download link for  catagories hedar menu for  nop commerce v2.3


We just uploaded the Nop Categories Header Menu for nopCommerce 2.3 and 2.2 on the nopCommerce web site. It should be available shortly after Andrei approve it and you will be able to download it from there.
Here is a link to all extensions available fro nopCommerce 2.3 and it should be listed there probably in a few hours.
[url=We just uploaded the Nop Categories Header Menu for nopCommerce 2.3 and 2.2 on the nopCommerce web site. It should be available shortly after Andrei approve it and you will be able to download it from there. Here is a link to all extensions available fro nopCommerce 2.3 and it should be listed there probably in a few hours. https://www.nopcommerce.com/versions/20/nopcommerce-230.aspx]https://www.nopcommerce.com/versions/20/nopcommerce-230.aspx[/url]

Thanks
11 years ago
i too commented the header menu in Views/Shared/HeaderMenu.cshtml ... but still the search box and other menu items are listing in the website.., it wont hiding... see the code below... i tried in both the ways...


1. @*<div class="headermenu">
    @Html.Action("SearchBox", "Catalog")
   @Html.Action("Menu", "Common")
</div>*@

2. <div class="headermenu">
@*   @Html.Action("SearchBox", "Catalog")
   @Html.Action("Menu", "Common")*@
</div>


i tried in both the above ways... but no use.. pls guide me more to perform this task... i clears the cache too and checked....
11 years ago
If the file is defined in a theme then you have to change it in the themes folder as well.
location  themes\<your theme Name >\Views/Shared/HeaderMenu.cshtml
9 years ago
GO to : Solution\Presentation\Nop.Web\Views\Common\Menu.cshtml
comment
@* <li><a href="@Url.RouteUrl("ProductSearch")">@T("Search")</a> </li>*@
it works .
8 years ago
I have version 3.6 and I cannot find the header menu view anywhere.    Has this moved?
8 years ago
Found it....

Solution\Presentation\Nop.Web\Views\Catalog\TopMenu.cshtml
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.