Jump to main content Jump to doc navigation

Description

This is chunk for not authenticated users. It is loading Loginza script from its service and display the link for login.

After validation you will be redirected back to site with action login, and snippet will authenticate you.

<script type="text/javascript" src="http://loginza.ru/js/widget.js"></script>
Authentication through Loginza
<a href="https://loginza.ru/api/widget?token_url=[[+login_url]]">
    <img src="http://loginza.ru/img/providers/yandex.png" alt="Yandex" title="Yandex">
    <img src="http://loginza.ru/img/providers/google.png" alt="Google" title="Google Accounts">
    <img src="http://loginza.ru/img/providers/vkontakte.png" alt="Vkontakte" title="Vkontakte">
    <img src="http://loginza.ru/img/providers/mailru.png" alt="Mail.ru" title="Mail.ru">
    <img src="http://loginza.ru/img/providers/twitter.png" alt="Twitter" title="Twitter">
    <img src="http://loginza.ru/img/providers/loginza.png" alt="Loginza" title="Loginza">
    <img src="http://loginza.ru/img/providers/myopenid.png" alt="MyOpenID" title="MyOpenID">
    <img src="http://loginza.ru/img/providers/openid.png" alt="OpenID" title="OpenID">
    <img src="http://loginza.ru/img/providers/webmoney.png" alt="WebMoney" title="WebMoney">
</a>
[[+error:notempty=`<div class="alert alert-block alert-error">[[+error]]</div>`]]

If you experience troubles with login, please verify generated link for return. Friendly urls are strongly recommended.

Placeholders

There is no unusual placeholders in this chunk.

See Also

  1. Loginza.Loginza
  2. tpl.Loginza.login
  3. tpl.Loginza.logout
  4. tpl.Loginza.profile

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • modmore
  • Jens Wittmann – Gestaltung & Entwicklung
  • Raffy
  • eydolan
  • Digital Penguin
  • Fabian Christen
  • Dannevang Digital
  • deJaya
  • Sepia River Studios
  • Following Sea
  • Anton Tarasov
  • Lefthandmedia
  • Nick Clark
  • Chris Fickling
  • Murray Wood
  • YJ
  • CrewMark
  • Richard

Budget

$305 per month—let's make that $500!

Learn more