This is first time when I needed to display multiple types in one section and I am facing problem.
This is how I display fields in template file:
<?php echo $item->fields_by_key[$params->get('tmpl_params.field_newsimage')]->result; ?>
and this is how it is in xml file
<field name="field_newsimage" client="list" filters="image" type="meresourcesfields" size="5" key="key" multiple="true">
if in admin I select one image field it show correctly, but if I select image fields of two types which are connected to my Section fields does not display.
What I am missing?
This is first time when I needed to display multiple types in one section and I am facing problem.
This is how I display fields in template file:
and this is how it is in xml file
if in admin I select one image field it show correctly, but if I select image fields of two types which are connected to my Section fields does not display.
What I am missing?