XF 1.5 custom_resource_fields

Robert9

Well-known member
I want to show some of my

custom_resource_fields

at different positions.


I use template resource_view_header
and do:

<xen:foreach loop="{$resource}" key="$key" value="$val" >
<pre>{$key} : {$val}</pre>
</xen:foreach>

So i got:

custom_resource_fields : a:4:{s:2:"x1";s:3:"174";s:2:"x2";s:2:"54";s:2:"x3";s:1:"2";s:2:"x4h";s:1:"2";}


Now it would like to know how to fetch the values of x1, x2, x3, x4 to show them here.
May someone tell me how, please?
 
Top Bottom