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.
我正在使用Pyro CMS并实现其自定义模块。
在此模块中,当我通过{{user:username}}它获取用户名时返回错误值。所以我想问这是获取用户名的正确方法还是这里有任何错误。
{{user:username}}
我还有其他方法可以在 pyroCMS 中获取用户名。
谢谢。
我想你可能想要的是{{ user:display_name }}.
{{ user:display_name }}
这是所有可用用户变量的列表。