This project is read-only.

How to set Home page(custom page)?

Topics: Administration
Nov 20, 2014 at 6:24 AM
Hi all....


I am facing problem with setting home page in orchard 1.8.1
I wanted to set home page of our custom module controller view.
for example
I have controller name(Home) that return Index view.
I also set blank route with 100000 priority in Route.cs file for this controller,action and area.
new RouteDescriptor {
                Priority = 100000,
                Route = new Route(
                    new RouteValueDictionary {
                        {"area", "Test"},
                        {"controller", "Home"},
                        {"action", "Index"}
                    new RouteValueDictionary(),
                    new RouteValueDictionary {
                        {"area", "Test"}
                    new MvcRouteHandler())
some time it works fine and some time getting error.

please reply me soon.....

thanks in advance....
Nov 20, 2014 at 4:44 PM
What kind of error are you getting?
Nov 24, 2014 at 4:25 AM
Error message shown on the page is given below.

Not found
The page you are looking for does not exist.

Nov 24, 2014 at 5:46 AM
Please take a look into your log file and post the error message that appears there.