OK, now I did that change and have a small glitch.
I changed it to: <a href="@Url.RouteUrl("Topic", new { SystemName = "Links" })">@T("Links")</a>
and instead of showing up in the "infoblock" and "Links". It shows up as "links". :)
How did that happen? http://www.accheaters.com/t/Links
That's the default behavior when you use @T and has not added a localization string at the admin. You either remove @T or you add a localization string at the backend. :)
OK, now I did that change and have a small glitch.
I changed it to: <a href="@Url.RouteUrl("Topic", new { SystemName = "Links" })">@T("Links")</a>
and instead of showing up in the "infoblock" and "Links". It shows up as "links". :)
How did that happen? http://www.accheaters.com/t/Links
That's the default behavior when you use @T and has not added a localization string at the admin. You either remove @T or you add a localization string at the backend. :)
All the other lines have the @T in them and they are still displaying correctly?
<li><a href="@Url.RouteUrl("Topic", new { SystemName = "Links" })">@T("Links")</a></li> <li><a href="@Url.RouteUrl("Topic", new { SystemName = "privacyinfo" })">@T("PrivacyNotice")</a></li> <li><a href="@Url.RouteUrl("Topic", new { SystemName = "conditionsofUse" })">@T("ConditionsOfUse")</a></li>
OK, now I did that change and have a small glitch.
I changed it to: <a href="@Url.RouteUrl("Topic", new { SystemName = "Links" })">@T("Links")</a>
and instead of showing up in the "infoblock" and "Links". It shows up as "links". :)
How did that happen? http://www.accheaters.com/t/Links
That's the default behavior when you use @T and has not added a localization string at the admin. You either remove @T or you add a localization string at the backend. :)
All the other lines have the @T in them and they are still displaying correctly?
<li><a href="@Url.RouteUrl("Topic", new { SystemName = "Links" })">@T("Links")</a></li> <li><a href="@Url.RouteUrl("Topic", new { SystemName = "privacyinfo" })">@T("PrivacyNotice")</a></li> <li><a href="@Url.RouteUrl("Topic", new { SystemName = "conditionsofUse" })">@T("ConditionsOfUse")</a></li>
As explained, that's the default behavior if you don't have localization string in the DB, which you don't have for 'links'. :)
I assume (dont know for sure) that @T means "At Topics" since the new page was added to the topics.
I dont have visual studio or a way to edit a sql database. Or knowledge to do it if I did.
Whats my next option to accomplish adding a Links page?
@T means localization. 'Translate'. You don't need to know database to edit localization string. It's editable at the admin under Configurations -> Languages. :)
How do you add a topic page to header menu in version nop3.3? I've been trying to look for Views/Common/Menu.cshtml but it's not there. Also, how to show just "blog" on header menu?
- Check at the backend the System Name of the topic that you want linked to - Find out which View you want to include the link in - Create a link in the View that has the following pattern: