We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28100
    • 66 Posts
    I’ve just been getting WLPE sorted out for a site I’m doing. Users will be pre-registered via the managers page so all I want the snippet to do is allow for login, lost password, profile and logout.

    I’m using:
    [!WebLoginPE? &loginFormTpl=`LoginFormTpl` &successTpl=`LoginSuccessTpl`!]

    Is that all I need to have in there?


    What I’d really like, is to have a login/logout link placed somewhere on the page (in the header for example) where the login link takes a person to the login page, and after successful login the link in the header changes to logout. It’s probably really simple - but I just can’t work out how to do it? huh

    Alternatively, what would be really cool is to have a login window like at Mediafire.com. You click on the login link and the following mini window opens up on the page ... does anyone know how I can do that? smiley
      • 28033
      • 925 Posts
      Quote from: spacefish at Mar 10, 2008, 09:25 PM

      What I’d really like, is to have a login/logout link placed somewhere on the page (in the header for example) where the login link takes a person to the login page, and after successful login the link in the header changes to logout. It’s probably really simple - but I just can’t work out how to do it? huh

      Alternatively, what would be really cool is to have a login window like at Mediafire.com. You click on the login link and the following mini window opens up on the page ... does anyone know how I can do that? smiley

      For the first thing, IIRC, I use Personalize to show my navigation for my logged-in users. You could use it for your example by having a Logout link there instead.

      As for the second, maybe Mootools or JQuery might work?
        My Snippets
        -> PopUpChunk v1.0
        • 28100
        • 66 Posts
        Thank you Soshite - Personalize was absolutely perfect for the job! smiley