Hi, i need to change the date format and i cannot do it with override.
forty Hi
The section you're referring to is generated by the Articles - Category module.
This module includes an option to customize the date format. Please check the module settings and adjust the Date Format option there.
I just check the date format. I know about this module. I mean on blog category i need to change date format.
You can look at this file: /templates/ja_vogue/html/layouts/joomla/content/info_block/publish_date.php
/templates/ja_vogue/html/layouts/joomla/content/info_block/publish_date.php
and change the format there:
<?php echo HTMLHelper::_('date', $displayData['item']->publish_up, Text::_('M j, Y')); ?>
After template update i must do the same? Also if i set on a custom filed settings for Automatic Display -> After Title custom field is not visible!
You can copy file: /templates/ja_vogue/html/layouts/joomla/content/info_block/publish_date.php
to this local folder in template: /templates/ja_vogue/local/html/layouts/joomla/content/info_block/
/templates/ja_vogue/local/html/layouts/joomla/content/info_block/
so it will not be affected when you update new version of template.
Regards, Hien
forty Also if i set on a custom filed settings for Automatic Display -> After Title custom field is not visible!
You can share the URL of this page and super admin account so I can check it directly for you. I made a test in my dev site but the custom field displays after the title correctly:
I work on localhost but i have installed demo for J6 also and i see the same problem! Problem is on category blog view https://www.joomlart.com/demo/ja-vogue Check images
forty
You can open the blog item file: /templates/ja_vogue/html/com_content/category/blog_item.php
/templates/ja_vogue/html/com_content/category/blog_item.php
Look for this line:
<?php echo LayoutHelper::render('joomla.content.blog_style_default_item_title', $this->item); ?>
Add this line underneath it:
<?php echo $this->item->event->afterDisplayTitle; ?>
This will change on update? Thanks
forty I found a solution! I set "hide" the Intro Text setting on menu options
Please confirm if this is correct.
If it works now, you can use that solution 😉