We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9911
    • 3 Posts
    I already have the html/css for my login form built. I was thinking that the best way to incorporate my front-end code into WebLoginPE would simply be to modify the default HTML files found in the ’Default Forms’ directory of the snippet.

    Problem is, when I make the necessary edits and re-upload, nothing takes. None of my html changes have any effect. The login template still displays the original ’defaultLoginTpl.html’ from out of the box. I even re-executed the php snippet itself, thinking it might be a caching issue. Nothing.

    Am I approaching my problem correctly? Is there another (read:better) way to stylizing my form when using WebLoginPE?

    http://www.alloymatch.com/index.php?id=43

    E.
      • 4310
      • 2,310 Posts
      The files in the Default Forms folder are just for demonstration.
      Either :
      Edit them directly in /assets/snippets/webloginpe/webloginpe.templates.php
      Or :
      Create html chunks and reference them in the snippet call e.g. &loginFormTpl=`login-form` &successTpl=`logged-in`
        • 9911
        • 3 Posts
        Awesome, bunk58! Thanks for your help. I’ll head down the chunk path....