- By Admin 254 views
You must be registered for see images attach
xfrm_resource_list_ macros
PHP:
<a href="{{ link('resources', $resource) }}" class="" data-tp-primary="on">{$resource.title}</a>
<xf:if is="$resource.isVersioned()">
<span class="u-muted">{$resource.CurrentVersion.version_string}</span>
</xf:if>
<xf:if is="$resource.isExternalPurchasable()">
<span class="label label--primary label--smallest">{$resource.price|currency($resource.currency)}</span>
</xf:if>
</div>
thêm
PHP:
<b>Song Name: </b>{$resource.custom_fields.sname} | <b>Artist:</b> {$resource.custom_fields.artist}