solution to Login problem with custom theme

Topics: Themes
Apr 18, 2011 at 8:51 PM

Maybe this has already been discussed but I haven't found nothing on the recent discussions so I've decided to add it in case someone else got the same problem.

I've installed my blogengine (Awesome!!!) and had no problem in setting it up, I've chosen a nice custom theme and customized it a little more using CSS, but yesterday
I discovered a little problem, the Login link was not working, the problem was that the link it called was: instead of
The solution was changing 2 lines in the site.master.cs

        if (Page.User.Identity.IsAuthenticated)
            aLogin.InnerText = Resources.labels.logoff;
 >>           aLogin.HRef = BlogEngine.Core.Utils.RelativeWebRoot + "Account/login.aspx?logoff";
 >>           aLogin.HRef = BlogEngine.Core.Utils.RelativeWebRoot + "Account/login.aspx";
            aLogin.InnerText = Resources.labels.login;

I've marked them with the >> adding the "Account/" before login.aspx.

said so Thank you for Blogengine, it's a fantastic tool!