com_content I can call my fields one by one as follows
<?php echo $this->item->jcfields->value; ?>
The same code does not work in
com_contacts. How can I call the fields in a custom override in
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.Sign up to join this community
You may find this helpful, I did.
It has been years, but if you examine your array you will find the proper value of [#]. You can then modify your code.
Add this at the bottom of your override to see the contents of the array:
echo '<pre>'; print_r($array); echo '</pre>';