We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33238
    • 388 Posts
    Hello just a question about WebloginPE with YAMS.

    E.g:
    if i`m in english language (default) click to go to spanhish and click on login i can login but it jump to english.
    same thing with logout button, but if i`m in spanish and click in forgot password, or edit profile it still in the right language (spanish)...
    the problem is only with login/logout!

    any ideas?

    YAMS CONFIGURATION:

    Redirection Mode:

    Current
    Redirect to the correct URL for the current language, whatever that happens to be. (Will be the language of the last multilingual page if they have previously visited one, or the default language.).

    URL Conversion Mode:

    Default
    Do standard URL conversion. The URL always resolves to the alias of the output document or weblink for the correct language.

    Thank you!
      --
      ysanmiguel.com
      • 9995
      • 1,613 Posts
      Are yams settings ok? OnParseDocument checkboxes etc.
      maybe there is something wrong I dunno?
        Evolution user, I like the back-end speed and simplicity smiley
        • 33238
        • 388 Posts
        Hello Fourrouses, thank you for your answer!

        i was checking again the settings, this is the yams list:

        System Events:
        - OnLoadWebDocument
        - OnParseDocument
        - OnWebPageInit
        - OnWebPagePrerender
        - OnLoadWebPageCache
        - OnPageNotFound
        - OnBeforeDocFormSave

        and everything is perfect sad any idea?
        is weird because the problem is only when login or logout but the other options works well.. so weird!

        Are you using webloginpe with yams? is this working well for you?

        thank you my friend!
          --
          ysanmiguel.com
          • 9995
          • 1,613 Posts
          Hi, sorry I don't use weblogin and Yams. I'm no coder, might be weblogin itself ?
          maybe you can try other / newer versions of weblogin or simular?



            Evolution user, I like the back-end speed and simplicity smiley
            • 9995
            • 1,613 Posts
            fourroses666 Reply #5, 13 years ago
            Actually I'm having the same problem as you have, need to add a login too, did you found a solution for it?

            Here seems to be a solution by Susan but this solution is with a click button to show the login form. I had it kinda working with body onload to load the script but I gave up. Its probably similair to the "no access page" which doesn't directs to the rite language on my site. Maybe some .htaccess line can be add I really don't know?

            It could also be some settings needs to be checked but really dunno which one if that would be the problem?! Have tried some: Web Access Service Events / Cache Service Events but no luck

            https://forums.modx.com/thread/86904/weblogin---when-clearing-cache-loginform-doesn-039-t-show#dis-post-478864

            [ed. note: fourroses666 last edited this post 13 years ago.]
              Evolution user, I like the back-end speed and simplicity smiley
              • 33238
              • 388 Posts
              No my friend, I have been working on other things and I'm leaving this one until last because I don't have an idea how to fix it.

              But I will try soon, so if you fix it or I fix it, I will definitely post the answer! wink
                --
                ysanmiguel.com
                • 9995
                • 1,613 Posts
                fourroses666 Reply #7, 13 years ago
                Same here, I'm waiting for the client to explain what they exactly want to do with the login, till that time I leave it as it is. If finding a solution I'll post it too.
                  Evolution user, I like the back-end speed and simplicity smiley
                  • 9995
                  • 1,613 Posts
                  fourroses666 Reply #8, 13 years ago
                  The client just told us the login isn't needed.
                    Evolution user, I like the back-end speed and simplicity smiley
                    • 33238
                    • 388 Posts
                    :( bad news for me! hahaha!
                      --
                      ysanmiguel.com
                      • 9995
                      • 1,613 Posts
                      I know tongue

                      The (Ajax) example of Susan was kinda working, at least for the login part.
                      https://forums.modx.com/thread/86904/weblogin---when-clearing-cache-loginform-doesn-039-t-show#dis-post-478866
                      You might want to try that out as startingpoint.

                      Good luck!
                        Evolution user, I like the back-end speed and simplicity smiley