feel free to keep it strictly simple...
Create a custom Frontend Login

There are different ways to get a frontend login on your site:

  • The easiest way to create a frontend login is to use the droplet "LoginBox".

    Please see also this page for more details.

    The disadvantage of the droplet is that the frontend_login_form is replaced by the droplet and the frontend.css will not be loaded automatically.

    NOTICE: you can use custom "landing-pages" for login or logout (release 2.2.2 or higher). You only have to call the droplet

    [loginbox?redirect_login=[wblink3]&redirect_logout=http://your_domain.tld/your_page.php

    You can use page_link as well as complete url!

     

  • If you want to get a better designed frontend login (maybe with the help of a css framework like semantic or bootstrap) you have to use another way.

     

    As described you have to use a directory 'login' within your Frontend Template inside the frontend directory. Please see standard LEPTON template for example.

     

    Create a page with the menu-link addon and chose external adrees with  http://your_domain.tld/account/login.php ( or simply set the page itself to "private" or "registered" ).

     

    Now the loginbox appears and you can login with your custom login_form. Please style all other forms the way you want.

     

    You can also create new menu entries for logout and preferences, but define the pages as private so they will only appear if you are logged in.

     

    NOTICE: you can use custom "landing-pages" for login or logout (release 2.2.2 or higher). You only have to call the page

    http://your_domain.tld/account/login.php?redirect=http://your_domain.tld/your_page.php

    You have to use complete url as redirect in this case!

     

  • Last but not least you can create a loginbox inside your template with php code.

     

    NOTICE: you can use custom "landing-pages" for login or logout (release 2.2.2 or higher). You have to call for LOGIN

    
     action="<? php echo LOGIN_URL.'?redirect='.LEPTON_URL.'/your_page.php';  ?>"method="post" name="login">
    

     

    You have to call for LOGOUT

     action="<? php echo LOGOUT_URL.'?redirect=[wblink3]'; ?>" method="post" name="login">

     

    You can use page_link as well as complete url in this case!

     

    Please see the standard LEPTON template as example

  •  

 

Any further questions?

 

Please use our forum.