Close

Profile: iliyan.tanev

Avatar

User posts

9 years ago

Hi,

What is the error you are getting ? You can check it in your System -> Log.

Also, take a look at this forum post. The case is very similar to yours. 

Every plugin is themeable and comes with the styles for the corresponding theme. These styles are in the Theme folder that you can find in every plugin. If you are renaming/cloning some theme you should clone the theme folder for the plugin as well.

Hope you understand me. 

9 years ago

Hi,

Can you submit a ticket with link to your site and admin credentials ?

Thanks!

9 years ago

Hi,

If this is how your view looks like you shouldn't see the links appearing in the menu.
These signs  @*...*@ mean that everything between them will be ignored and won't be compiled. 

In your case you should change this:

 @*
        This shows hard-coded About Us and Contact Us menu items
        @Html.Action("TopicBlock", "MegaMenu", new { systemName = "AboutUs", enableDropDown = !isMegaMenuResponsive })

        @Html.Action("TopicBlock", "MegaMenu", new { systemName = "ContactUs", enableDropDown = !isMegaMenuResponsive })
    *@


to this:


        @Html.Action("TopicBlock", "MegaMenu", new { systemName = "AboutUs", enableDropDown = !isMegaMenuResponsive })

        @Html.Action("TopicBlock", "MegaMenu", new { systemName = "ContactUs", enableDropDown = !isMegaMenuResponsive })


Please write back with your results after the change.

9 years ago

tamchu wrote:
Dear Sir:

We have a multiple licenses, I would like to ask if I can change the name of the mega menu, since I have 2 site using the same theme, if I change from the string resources, all site will change, e.g.I want to change the name "home" to "shop", what can I do?

Best regards,


How do you have two sites when you don't have multi store and only one instance of nopCommerce on your server or am I missing something ? 
To have two sites you will need one of these things and the problem you are describing can occur only if you have multi store.

Do you mean that you have one site in which you need to switch between themes ? 

9 years ago

Hi,

To add a topic in MegaMenu you need to open Plugins\SevenSpikes.Nop.Plugins.MegaMenu\Views\MegaMenu\MegaMenu.cshtml view and at the bottom of the file you will see commented section containing something like this:

@*
        This shows hard-coded About Us and Contact Us menu items
        @Html.Action("TopicBlock", "MegaMenu", new { systemName = "AboutUs", enableDropDown = !isMegaMenuResponsive })

        @Html.Action("TopicBlock", "MegaMenu", new { systemName = "ContactUs", enableDropDown = !isMegaMenuResponsive })
*@


The 

@Html.Action("TopicBlock", "MegaMenu", new { systemName = "ContactUs", enableDropDown = !isMegaMenuResponsive })


is the way you add topic links in the mega menu. Just uncomment the section or if you want only one of the links, place the above line below the commented section. 

Also, we have the entire process described in our documentation, in the Add Topics section.

Hope this helps!

9 years ago

Hi,

I thought you were talking about multi store. 

Can you describe step by step how you duplicated the theme ? Did you just copy the folder ? Do you have two instances of nopCommerce on your server or just one ? 

Hi,

Sorry, I didn't consider that this option can be of use in your case.

Thank you for your feedback! We will take a look. 

Hi,

Thank you for your feedback! 

We found the source of the problem and it is now fixed and soon will be deployed. We will write back here when we deploy the fix.

Hi,

Can you suggest this to our UserVoice portal

Thanks!

9 years ago

Hi,

The main idea is to have two different resources for each store and use the first resource for the first store and second resource for the second store. 

This is not possible without modifications to the MegaMenu.cshtml view, which we do not recommend because it will make future upgrades harder for you.

However, if you need to do this change please write back and we will assist you making the change.