By John Bren on Thursday, 10 September 2026
Posted in Community
Replies 3
Likes 0
Views 28
Votes 0
I added a custom field "Event date" to articles. It shows on the article page but not in the category blog list. Is there a setting, or do I need an override?
Automatic Display depends on the layout firing the content events, and many templates' blog overrides leave them out for intro items. The reliable way is a small override:

1. Copy
components/com_content/tmpl/category/blog_item.php
to
templates/<your template>/html/com_content/category/blog_item.php

2. Where you want the date, add:
<?php use Joomla\Component\Fields\Administrator\Helper\FieldsHelper; ?>
<?php foreach (FieldsHelper::getFields('com_content.article', $this->item, true) as $field) : ?>
<?php if ($field->name === 'event-date') : ?>
<p class="event-date"><?php echo $field->value; ?></p>
<?php endif; ?>
<?php endforeach; ?>


With true the value comes back formatted by the field type. Use the field's name (alias), not its label.
·
2 weeks ago
·
0 Likes
·
0 Votes
·
0 Comments
·
#98
I had the same. In the field's options there is "Automatic Display" – mine was set to "After Display Content" and it still did not show in the blog.
·
3 weeks ago
·
0 Likes
·
0 Votes
·
0 Comments
·
#97
The override works – thank you both.
·
2 days ago
·
0 Likes
·
0 Votes
·
0 Comments
·
#99
View Full Post