We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25483
    • 741 Posts
    ronaldlokers Reply #1, 19 years ago
    I have a WebLoginPE snippet in a sidebar which has to redirect the "profile" button to a seperate page instead of showing the profile form in the sidebar.
    I am using this code, just like told in the documentation:

    [!WebLoginPE? &lang=`nl` &loginFormTpl=`FormLoginWorkbar_WLPE` &successTpl=`SuccessLoginWorkbar_WLPE` &profileHomeID=`108`!] 


    documentID 108 is protected and the logged in user has rights to open that document. Did I forget something or is this a bug?
      with regards,

      Ronald Lokers
      'Front-end developer' @ h2o Media

      • 26435
      • 1,193 Posts
      ScottyDelicious Reply #2, 19 years ago
      Well, It doesn’t look like you missed anything.
      I can’t recreate your error though.
      Anyone else able to set up a situation where &profileHomeId doesn’t redirect correctly?

      I copied the code you posted and pasted it into my local testing site (minus the language and the chunks) and it worked fine for me.

      Maybe you could post details about the server environment and a link would be super helpful.

      -sD-
      Dr. Scotty Delicious, Scientist DFPA.
        Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
        All of the above... in no specific order.


        I send pointless little messages
        • 25483
        • 741 Posts
        ronaldlokers Reply #3, 19 years ago
        thanks for the fast response, I just cleared my cache (from my browser) and now it works great! laugh

        But I don’t get the profile form when I get redirected to the profile page! I have WebLoginPE 2 times included on the page, one in the side/topbar and one for the profile. How can I get this to work?
          with regards,

          Ronald Lokers
          'Front-end developer' @ h2o Media

          • 26435
          • 1,193 Posts
          ScottyDelicious Reply #4, 19 years ago
          Quote from: ronaldlokers at Sep 18, 2007, 06:23 AM

          thanks for the fast response, I just cleared my cache (from my browser) and now it works great! laugh

          But I don’t get the profile form when I get redirected to the profile page! I have WebLoginPE 2 times included on the page, one in the side/topbar and one for the profile. How can I get this to work?
          A few questions:

          1) Does the form show up when you navigate to the page manually?
          2) Does the form show up if you take WebLoginPE out of the sidebar?
          3) What is your snippet call for the profile page?

          -sD-
          Dr. Scotty Delicious, Scientist DFPA.
            Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
            All of the above... in no specific order.


            I send pointless little messages
            • 25483
            • 741 Posts
            ronaldlokers Reply #5, 19 years ago
            1) no
            2) yes
            3) [!WebLoginPE? &type=`profile` !]

            - EDIT -

            I think it was a bug in 1.2.0, after updating to 1.3.0 it works fine!
              with regards,

              Ronald Lokers
              'Front-end developer' @ h2o Media

              • 26435
              • 1,193 Posts
              ScottyDelicious Reply #6, 19 years ago
              Quote from: ronaldlokers at Sep 18, 2007, 06:49 AM

              I think it was a bug in 1.2.0, after updating to 1.3.0 it works fine!

              Yeah, I forgot to mention that that was fixed in 1.3.0
              Glad to hear it’s working.

              -sD-
              Dr. Scotty Delicious, Scientist DFPA.
                Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                All of the above... in no specific order.


                I send pointless little messages
                • 24731 ☆ A M B ☆
                • 211 Posts
                hello,

                I am running the latest version 1.3.0 and I am having the same issue.

                If I go to the page directly I can see and edit the profile, but whenever I click on the sidebar profile button it just loads the profile form in the sidebar for that current page.

                I’ve cleaned cache and still no luck, I also tried alternative browsers.

                These are my calls:

                [!WebLoginPE? &lang=`en` &type=`simple` &liHomeId=`49` &loHomeId=`49` &regHomeId=`88` &profileHomeID=`89`!]

                On the sidebar... and the profile page has:

                [!WebLoginPE? &lang=`en` &type=`profile`!]

                Thanks.

                Jose R. Lopez
                  • 24731 ☆ A M B ☆
                  • 211 Posts
                  arg, nevermind this post, just after posting it I noticed my request call was wrong. I used ID when it should have been Id. Still someone should check the documentation because if I recall properly I copy pasted the tag from the documentation.

                  Regards,
                  Jose R. Lopez
                    • 32830
                    • 21 Posts
                    Jose - thanks for posting your solution. I’ve been f**king with this for about 90 minutes now. You saved me.

                    I too was using &profileHomeID=`14` (capital ID) - that’s how it shows at the documentation example at: http://docs.webloginpe.info/parameters.html

                    the backtick thing has me copying and pasting things I would normally type manually.
                    it seems so obvious now that you mention it.
                    thanks. Ned