Hi all,
i have a problem while trying to get extrafields information of an item in an external page of K2.
I'm using jxfinder to search k2 item, in the search-result page i want to add extrainfo of the item.
I've see that k2 use this one:
<?php foreach ($this->item->extra_fields as $key=>$extraField):?>
### code ###
<?php endforeach; ?>
Now, i have the id of the item but sure cannot use $this->item, is there a way to get extrafield of an item starting by the id?
Thanks,
Andrea
i have a problem while trying to get extrafields information of an item in an external page of K2.
I'm using jxfinder to search k2 item, in the search-result page i want to add extrainfo of the item.
I've see that k2 use this one:
<?php foreach ($this->item->extra_fields as $key=>$extraField):?>
### code ###
<?php endforeach; ?>
Now, i have the id of the item but sure cannot use $this->item, is there a way to get extrafield of an item starting by the id?
Thanks,
Andrea