We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10529
    • 73 Posts
    In working with weblogin I came across webloginpe and saw how much better it is - that said have now spent the past couple of days (as ever) getting no where fast with it!

    So a few basic noobie questions as I’m trying to get my head around the styling and configuration of the WebloginPE snippet - see bottom of left hand side bar - here http://www.anotherharddayattheoffice.co.uk/serrechevaliersecondweek.html

    Where does the basic simple weblogin get it’s css from, by that I mean I have a grey line around two of the boxes - as you can see I have tried to attempt some basic text formatting - I see that in the documentation there are various default form files I tried to edit these but seemed to have no effect it was only when I edited the webloginpe.templates.php that i was getting somewhere.

    I then tried to remove some of the services using &disableServices and again no effect
     [!WebLoginPE? &disableServices=`forgot,register` !] 


    I then looked at http://www.sottwell.com/article-wlpe-simple.html and attempted to remove and make a more simple login / logout copying that code but again no luck see http://www.anotherharddayattheoffice.co.uk/ottwell.html

    on the page I used the snippet code
    [!WebLoginPE? &type=`simple` &disableServices=`profile,register,forgot` &loginFormTpl=`loginTpl` &successTpl=`logoutTpl` !]
    


    and then created two chunks loginTpl
    <form id="wlpeLoginForm" action="article-wlpe-simple.html" method="POST">
    <input id="wlpeUsername" type="text" name="username" />
    <input id="wlpePassword" type="password" name="password" />
    <button type="submit" id="wlpeLoginButton" name="service" value="login">Login</button>
    </form>


    and logoutTpl
    <form id="wlpeUserForm" action="article-wlpe-simple.html" method="POST">
    <span>Welcome, [+user.username+]</span>
    <button type="submit" id="wlpeLogoutButton" name="service" value="logout">Log Out</button>
    </form>


    And the above all gets me nowher, so I’m really going round the houses here and it’s doing my head in HELP rolleyes