Adding new topics to the top menu in v2.4

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 năm cách đây
Hi,

I have added the following code to menu.cshtml after the "New Products" link so that my new topic pages have a link on the top menu:

<li><a href="@Url.RouteUrl("FAQs")">@T("Topic.FAQs")</a> </li>

However the site errors. I am new to MVC/Razor - is this syntax incorrect?

Kind regards

JT
12 năm cách đây
Anyone?
12 năm cách đây
Managed to work out the correct syntax myself. Just in case anyone else needs it:

<li><a href="@Url.RouteUrl("Topic", new { SystemName = "FAQs" })">@T("FAQs")</a></li>
11 năm cách đây
Hi, I'm also very new to this MVC/RAZOR and even new to nopCommerce. I wanted to add new menu items. Could you please let me know detailed steps on how to do this? Or this is the only single line of code i have to add in Menu.cshtlm file.

Your Help is highly appreciable.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.