Login link not working on certain pages/edit mode
Last Post 12/15/2010 7:29 AM by Joseph Craig. 1 Replies.
Author Messages
EC Reach
Nuke Newbie
Nuke Newbie
Posts:5


--
12/14/2010 9:55 PM
    Hi,
    I am currently building a site where casual visitors do not need to see a register and login link but admins can go to a seperate page to login to manage the site content. Therefore I have conditional code in my skin which displays the login and user modules only when a user is logged in:
    < %  If Request.IsAuthenticated Then % >
            < div id="login_style" >
                < dnn:USER runat="server" id="dnnUSER"  CssClass="user" / >
                |
                < dnn:LOGIN runat="server" id="dnnLOGIN"  CssClass="user" / >
            < /div >
    < %  End If% >
    This snippet is in a seperate page login.inc.aspx which is then #included into the Homepage and Subpage skin layouts.
    However I have an issue in Firefox where the link is displayed but does not work in:
    Edit mode of the Homepage, View and Edit mode on pages using the Subpage layout.
    Internet Explorer doesn't have this problem. Attached are the homepage and subpage ascx files as well as the login aspx
    Please advice.
    EDIT: I solved it. I took out the user created LogoPane and used the DNN logo token instead and it went away... Sorry!
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    12/15/2010 7:29 AM
    Glad you found the problem!

    Joe Craig, Patapsco Research Group
    Complete DNN Support


    ---