This project is read-only.

Login fields on top of the page

Topics: Troubleshooting, Writing modules, Writing themes
Mar 15, 2012 at 3:59 PM

Hi!, i want to disply login field directly on the top of all my pages, is it possible to use the defualt sign in/login view and render it in the top of the pages?. Instead of pushing the sign in link and then make it possible to sign in. I am currently using the contoso theme if it explains better what iam after. Does anyone have any bright ideas of how u make it?..

I got one second question aswell, is it possible to "hide" the dashboard link for users that shouldn´t have acess for it?

Thx in regard //

Mar 15, 2012 at 4:10 PM

The easiest way to do this is by simply creating the login fields yourself and point the action url of the <form> to the same controller/action as the default login screen.

As for your second question: you should be able to remove the link from the BadgeOfHonour.cshtml file (if it's part of your contoso theme - I'm not familiar with that theme).