Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
想知道是否可以显示属于当前登录用户的资源。
这个想法是在用户配置文件中有一个选项,列出他创建的所有资源。
谢谢
您需要按createdby字段过滤资源,例如:
createdby
[[!getResources? &parents=`[[*id]]` &where=`{"createdby:=":[[!+modx.user.id]]}` &tpl=`myRowTpl` ]]