NEWSBLOG

Display custom fields in an override

Display custom fields in an override

 

<?php $customFields = FieldsHelper::getFields('com_content.article', $item, true);
		foreach ($customFields as $customField){
		$customFields[$customField->name] = $customField;
	}?> 
	
	
	<p><?php echo $customFields['name-of-the-custom-field']->value; ?></p>
ARITHMOS.GR - With none  none none From GREECE - Thank you for visiting.