We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23145
    • 36 Posts
    Не могу нигде найти информацию о том, как реализовать выход из системы для пользвателя, авторизованного через WebLogin.
    Как это делается? Натолкните кто-нибудь на мысль, плз smiley

    После авторизации просто пропадает форма входа, ничего больше не появляется.
      • 9085
      • 630 Posts
      Заглянуть в код - там довольно большой блок примечаний:

      # Params:
      #
      # &loginhomeid - (Optional)
      # redirects the user to first authorized page in the list.
      # If no id was specified then the login home page id or
      # the current document id will be used
      #
      # &logouthomeid - (Optional)
      # document id to load when user logs out
      #
      # &pwdreqid - (Optional)
      # document id to load after the user has submited
      # a request for a new password
      #
      # &pwdactid - (Optional)
      # document id to load when the after the user has activated
      # their new password
      #
      # &logintext - (Optional)
      # Text to be displayed inside login button (for built-in form)
      #
      # &logouttext - (Optional)
      # Text to be displayed inside logout link (for built-in form)
      #
      # &tpl - (Optional)
      # Chunk name or document id to as a template
      #
      # Note: Templats design:
      # section 1: login template
      # section 2: logout template
      # section 3: password reminder template
      #
      # See weblogin.tpl for more information
      #
      # Examples:
      #
      # [[WebLogin? &loginhomeid=`8` &logouthomeid=`1`]]
      #
      # [[WebLogin? &loginhomeid=`8,18,7,5` &tpl=`Login`]]

      И пара ссылок, которые могут быть полезными..

      http://h88.ru/modx/dokumentaciya/avtorizaciya-polzovatelej.html
      http://modxcms.com/forums/index.php/topic,1791.msg12311.html#msg12311
      http://modxcms.com/forums/index.php/topic,3502.0.html -
        Правильно заданный вопрос повышает вероятность получения нужного ответа.
        Что-то не работает? Загляните в лог ошибок!
        Есть проблема? "Локализуйте" её!
        Ответы на большинство вопросов по MODx | MODx RTFM | API Evo Revo | галопом по Европам Азиям smiley wikibooks(ru) Ditto(en) | Wayfinder e-book | Заметки и о MODx
        • 33271
        • 84 Posts
        webloginmode=lo
          • 23145
          • 36 Posts
          Quote from: Yurgen at Nov 15, 2010, 06:12 AM

          webloginmode=lo

          а поподробнее? как этим пользоваться? Можно конкретный пример?
            • 897
            • 1,620 Posts
            вот так
            <a href="http://www.your.site/page_with_weblogin_snippet_call?webloginmode=lo">выйти</a>
            
              "Und wenn du lange in einen Abgrund blickst, blickt der Abgrund auch in dich hinein."

              Не используйте Revo для "просто сайтов". Используйте Evo

              Who can defeat the Russian bear?