Adding content widgets to the login page

Topics: Customizing Orchard, Troubleshooting, Writing themes
Jul 6, 2012 at 10:31 AM

We are running a multi tenanted orchard site and we would like to add dynamic text above and below the login page controls. We can adjust the login page in the theme by editing the chtml file.

How would you go about adding widgets in the login screen to allow content editors to add text above and below the actual login controls.


Jul 6, 2012 at 11:12 AM

Create a new widget layer with a rule of: url '~/Users/Account/LogOn' any widgets you add to that layer will then be displayed on the login page.