S
S
Sergey Miller2020-12-29 14:25:06
MODX
Sergey Miller, 2020-12-29 14:25:06

Modx revo Checking if a user is blocked by a placeholder?

There are two placeholders

не заблокирован - проверка заблокирован ли пользователь

... и проверка авторизован ли пользователь


Separately work, but how to connect them?

Tried like this, doesn't work:

[[!+modx.user.id:isloggedin=`web`:is=`1`:and:if=`[[!+modx.user.id:userinfo=`blocked`:isnot=`1``:then=`...`:else=`...`]]

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
S
Sergey Miller, 2020-12-29
@blackseabreathe

RESOLVED!

...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question