We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21778
    • 223 Posts
    First of all, what i’m trying to accomplish is a registration page with my own custom registration template. My Login is placed in a narrow, horizontal space beneath my main menu, so i need the registration form to appear on a new page stripped from other content.

    Alright here’s the deal:

    My WebLoginPE call in template:

    [!WebLoginPE? &loginFormTpl=`loginFormTpl` &successTpl=`successTpl` &groups=`Beboere` &regHomeId=`45` !]

    On page 45 i have a WebLoginPE type call:

    [!WebLoginPE? &type=`register` &registerTpl=`registerTpl` !]


    Problem occurs when a required* form is left blank, and the user try’s to register. What then happens is the default registration template (rather than my own `registerTpl`) suddenly appears. And it appears on top of the other.

    You can see this for yourself click: http://www.norlins.dk/uchihaproject/nybruger.html and just click the Udfør button (thats register on danish smiley )

    I’m probably just confused and is missing something, or misunderstood a feature? hehe, any guidance is welcomed!
      • 21778
      • 223 Posts
      So i realize that my problems are bound to the fact that i have two webloginpe call on the same page. Guess i need to work on another method.
        • 38755
        • 43 Posts
        Heya norlin,

        If my memory serves me correctly, the latest version of WLPE that’s been updated with patches from the community has the ability to have multiple calls in a single page.

        http://code.google.com/p/webloginpe/ is where the updated version is kept, and the vhollo version under branches is what I’m thinking of. Hope I’m right and it works out for you  wink
          • 27442
          • 103 Posts
          What I do to solve this issue, is to simply have a ’nearly duplicate’ template that is used with the registration form. This ’nearly duplicate’ is simply a copy of the normal template, with the other WebLoginPE call removed.
            • 21778
            • 223 Posts
            Quote from: sjh_vt at May 09, 2009, 01:12 PM

            What I do to solve this issue, is to simply have a ’nearly duplicate’ template that is used with the registration form.  This ’nearly duplicate’ is simply a copy of the normal template, with the other WebLoginPE call removed.

            But i want to have both login and register on the same page!

            So when a user push "register" he is redirected to the register page, but with the same template so that the login stays the same. With my design it looks strange that the login form just vanishes when you press register.