R
R
RushV2020-08-30 20:38:33
MODX
RushV, 2020-08-30 20:38:33

How to link to the ModX resource author page?

Hello!
This situation is the product page implemented by minishop2.
There are also login and msForm2 plugins.
5f4be16c14efb268154959.jpeg
How to implement, as it were, a link to the profile of the author of the goods, there will be a phone name, etc.
I just can’t figure out how to pick up the id or username of the author of the product and display it all on the page.
Tell me how it is implemented at all, I have never done this before.
Is it possible to implement such a link.
The whole Internet about fumbling did not find a solution.
Thank you in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danny Arty, 2020-09-01
@DanArst

It turns out that you have already configured ms2formUserPolicy so that only registered users can use it.
Create a TV for the "Product", where the user ID 0 will be written when it is created .
I don’t know how you have implemented the User’s page (the creator of the product), but given that the page is ready for you, then you can simply display the necessary data there: , [ [+modx.user.id:userinfo=`photo`]], etc

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question