Cause right now, it is not working ! The Dark Orange and nopClassic themes work fine (like they did before) .. but the Theme00 (my custom theme) is not working.
Put a breakpoint in the Layout override and run the app in debug in vs2010 and . Check if it called and for what views. If it is not called, then either the web.config has not been properly edited or you didn't restart the app. Let me know if the break point is hit.
If you're running in vs2010, make sure to manually stop any instance of the asp.net development server and restart visual studio.
When the breakpoint was hit, was the layout null at the beginning of the call? That might be the case if the code is called for a partial view (that has no layout).
Even tough you hit localhost:<port>/, it can be hit for a partial view if your main view has Html.Action or Html.RenderAction in it. The only reason I can see its not working as it should is if you didn't modify both web.config (in your theme's view folder and in the main app's view folder) or that you didn't restart visual studio.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.