I made a custom page and called it 'balancechecker' tested it and called it directly like .../balancechecker and it shows the page correctly.
so i added a new topic and gave it a systemname of 'balancechecker and also the title is 'balancechecker' and added it to the topmenu. When clicking on this menuitem, the new page shows up.
but after some time, mostly the next day, the balancechecker page is not showing up, but it shows the empty topic page. and when calling ../balancechecker directly, it shows the empty topic page again.
the only way to get it working again, is uploading the \bin again but the next day same problem. when i check the files in the \bin, i don't see any strange things.
Without running a full check, I can't give a definite answer, but if you have 2 routes using the same name, I think it is going to cause some problem to the MVC routing.
If you already customized your source code, I don't see why you don't want to just add 1 line of code to include your custom page in the menu?
A route named 'OicBalanceChecker' could not be found in the route collection. Parameter name: name
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: A route named 'OicBalanceChecker' could not be found in the route collection. Parameter name: name
Source Error:
Line 43: var rootCategories = Model.Categories.Where(x => x.IncludeInTopMenu).ToList(); Line 44: } Line 45: @foreach (var category in rootCategories) Line 46: { Line 47: @RenderCategoryLine(category, 0, false)
in TopMenu.cshtml Line: 45
so I did an upload of nop.web.dll and it's fine again ...
It suggests that for some reason, your plugin gets unloaded from time to time. I don't know how you setup your plugin, but it should not unload itself.