This project is read-only.

No LogOn Screen for new created theme

Topics: Writing themes
Mar 2, 2011 at 4:47 PM

Hi there! I'm little lost here...

So i've created a new theme with code generator based on TheThemeMachine, created html and css and finaly i've created diferent zones (diferent names too, not equal to the zones of TheThemeMachine) and thats works great, i can add widgets and so, but...

When i'm trying to log in Dashboard i have no success... it appears that the view that User/Account/LogOn returns doesnt themed my theme... i hit login link but i cannot see the form...

Cant understand... because layout.cshtml doesent have any code... and it's a custom theme...


Thank You!

Mar 2, 2011 at 6:48 PM

Can you please give more details? From what I understand you can see the log in link but what happens when you click it? Are you getting an error? An unthemed view? Can you still use it to log in?

Mar 2, 2011 at 10:36 PM

Thank you for your replay, actualy i manage to solve the problem.

I've named all the zones... and well... i didn't know that @Zone(Model.Content) was requested by orchard core módules...

After adding it the login view was themed right away :)

Mar 2, 2011 at 10:59 PM

Ah yes, that explains it. I should have thought about that :)