Hello
I would like to display something in the post_macros template if the contributor author has the permission.
Like this:
The version for the visitor works, but not for the user.
How are you?
Can someone help?
I would like to display something in the post_macros template if the contributor author has the permission.
Like this:
Code:
<xf:if is="{{ $xf.user.hasPermission('forum', 'test') }}">
Show content if user has the rights ...
</xf:if>
How are you?
Can someone help?