Login and log out links

Topics: Administration
May 11, 2011 at 10:40 AM

HI

I have a problem I create a user and I logged out as admin and logged  in as the user i created, the problem is i didn't put the log out option in my page now i can't access my dashboard, Is the a way i can go around this and whats the proper way to add the login page?

Thanks

May 11, 2011 at 12:11 PM

It's all just at /Admin.

May 11, 2011 at 1:37 PM

sorry I started Orchard yesterday. What's the zone for login?

May 11, 2011 at 2:06 PM
Edited May 11, 2011 at 2:07 PM

The default theme is TheThemeMachine. If you look in Views/Layout.cshtml you can see this code:

 

    WorkContext.Layout.Footer.Add(New.User(), "10"); // Login and dashboard links

That's how the login/logout links usually get added into the Footer zone. But you can add them into any zone you like and even create your own zones. Use TheThemeMachine for any reference you need about how the default templates are built.

 

 

May 11, 2011 at 2:13 PM

Thank you, It works! :-)