RM 1.1 Resource Fields outside resource_description page

KiF

Active member
I'd want to use values of Resource Fields outside resource_description page (in resource_index page) via template modification.
Is it possible?
 
Possibly via {$resource.customFields.x} but if that's not available in that context, then you would need to modify the code.
 
In resource_description page
PHP:
["customFields"] => array(2) {
["test1"] => string(3) "111"
["test2"] => string(3) "222"
}
In resource_view page
PHP:
["customFields"] => array(7) {
    ["aim"] => string(0) ""
    ["icq"] => string(0) ""
    ["yahoo"] => string(0) ""
    ["skype"] => string(0) ""
    ["gtalk"] => string(0) ""
    ["facebook"] => string(0) ""
    ["twitter"] => string(0) ""
  }
So I can use {$resource.customFields.x} as resource fields only in resource_description page.
Is there a simple way to get values of resources' fields from
PHP:
["custom_resource_fields"] => string(50) "a:2:{s:5:"test1";s:3:"111";s:5:"test2";s:3:"222";}"
or
PHP:
["field_cache"] => string(78) "a:1:{s:10:"above_info";a:2:{s:5:"test1";s:5:"test1";s:5:"test2";s:5:"test2";}}"
?
 
Top Bottom