Blue
Red
Green
Orange
Voilet
Slate
Dark

Resource Manage - Hiển thị custom fields trên danh sách

Admin

Administrator
Staff member
Joined
Apr 3, 2022
Messages
405
Reaction score
53
Points
28
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:&nbsp</b>{$resource.custom_fields.sname} | <b>Artist:</b>&nbsp{$resource.custom_fields.artist}
 
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock    No Thanks