[RSS Feed/News] Using custom profile fields in RM template

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I am trying to add a user field to RM I am going about this the following way.

In template xfrm_resource_view I am using:
Code:

Code:
<xf:if is="{$user.Profile.custom_fields.FIELDID}">
    <xf:button href="{{ link({$user.Profile.custom_fields.FIELDID}) }}" class="button--cta button--icon button--fullWidth">CLICK ME</xf:button>
</xf:if>

The profile field is a link users can enter, to go with their resource.

I am doing it this way rather than a resource field for a reason...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom