S
S
Sergey Miller2019-02-16 13:29:51
JavaScript
Sergey Miller, 2019-02-16 13:29:51

Modx Revo how to track that the user visited the page and perform an action?

The question arose about tracking user behavior, namely:
On the page of the main parent, through pdoMenu, I display all the child elements of the current resource.

--Отец 1
    --- svg галочка серого цвета Сын 1
    --- svg галочка серого цвета Сын 2
    --- svg галочка серого цвета Сын 3
    --Отец 2
    --- svg галочка серого цвета Сын 1
    --- svg галочка серого цвета Сын 2
    --- svg галочка серого цвета Сын 3
...

It is very interesting to figure out how to make it so that if the user (for example) goes to the page of some "son", then on the page of the main parent, change the color of the checkmark to green and so that it remains green even if the user reloads the page / logs out and logs in.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question