Hi I need to render the image also in tne mod_articles_category
Hw can I do?
Hw can I do?
Latest post by Lefteris Kavadas on Monday, 14 May 2018 12:12 EEST
$item->jcfields = FieldsHelper::getFields('com_content.article', $item, true); foreach($item->jcfields as $field) { echo FieldsHelper::render('com_content.article', 'field.render', array('field'=> $field)); }
$item->jcfields = FieldsHelper::getFields('com_content.article', $item, true); echo FieldsHelper::render('com_content.article', 'field.render', array('field'=> $item->jcfields[X]));
defined('_JEXEC') or die; ?> get('link_titles') == 1) : ?>title; ?>
title; ?>
displayDate) : ?> displayDate; ?> jcfields = FieldsHelper::getFields('com_content.article', $item, true); echo FieldsHelper::render('com_content.article', 'field.render', array('field'=> $item->jcfields[1])); ?> get('show_introtext')) : ?>
displayIntrotext; ?>
leggi tutte le altre news
$item->jcfields = FieldsHelper::getFields('com_content.article', $item, true); echo FieldsHelper::render('com_content.article', 'field.render', array('field'=> $item->jcfields[0]));
Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request. In case you just want to ask a question, you can also use the contact form .