Close

Mega-Menu Topic

yogesh
10 years ago
#8148 Quote
Avatar
  • 3
Hi,

I am trying to add change some content into mega-menu topic from mega-menu topic page and i am also enable "Include topic" from mega-menu setting to display but it does not display into mega-menu.

Do you have any option to enable or disable the caching in mega-menu. I have also tried by clearing caching but its not working without restating application.


Please help

Thanks in advance

Regards,
Yogesh
Deni
10 years ago
#8152 Quote
Avatar
  • Moderator
  • 389
Hello,

The MegaMenu plugin uses the standard caching in the nop. When you edit a topic you should clear the cache in order to have the MegaMenu updated. You do not need to restart the application. I just tested it and it works perfectly.
Best Regards,
Mladen Staykov
Nop-Templates.com
yogesh
10 years ago
#8156 Quote
Avatar
  • 3
Hi,

I tried from clear cache options as well but not worked.No problem i will try one more time.

Thanks for reply
yogesh
10 years ago
#8164 Quote
Avatar
  • 3
Hi Team,

One more question related with this,that how should i add FAQ link to menu.

I saw the mega-menu setting as well but there is no option for FAQ.

Please help me for this question.

Thanks

Regards,
Yogesh D.
Deni
10 years ago
#8171 Quote
Avatar
  • Moderator
  • 389
yogesh wrote:
Hi Team,

One more question related with this,that how should i add FAQ link to menu.

I saw the mega-menu setting as well but there is no option for FAQ.

Please help me for this question.

Thanks

Regards,
Yogesh D.


Hello,

You should go to this file: \Plugins\SevenSpikes.Nop.Plugins.MegaMenu\Views\MegaMenu\MegaMenu.cshtml. Inside it you will find function:

@helper RenderMegaMenu(bool isMegaMenuResponsive)
{
          // some LIs are built here.
}

Somewhere inside this helper add this row:

<li><a href="@Url.RouteUrl("Topic", new { SeName = Html.GetTopicSeName("faqSeName") })">@T("FAQresource")</a></li>

Now just replace the SeName and the resource with yours and everything should work.
Best Regards,
Mladen Staykov
Nop-Templates.com