- Posts: 246
- Thank you received: 3
All questions about EDocman extension
Publication Date Format Not Applied on Detail Page
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
1 month 1 week ago - 1 month 1 week ago #171156
by hide10
Publication Date Format Not Applied on Detail Page was created by hide10
Hello,
I have set the Date Format in Media Configuration to Y/m/d. This setting works correctly on each page, but the publication date displayed under the title on the detail page does not follow this format (as shown in the red box in the attached screenshot).
Is it intentional that the Date Format setting does not apply to the publication date, or is this a bug?
I would appreciate it if you could provide a way to correct the Date Format for the publication date.
Regards
I have set the Date Format in Media Configuration to Y/m/d. This setting works correctly on each page, but the publication date displayed under the title on the detail page does not follow this format (as shown in the red box in the attached screenshot).
Is it intentional that the Date Format setting does not apply to the publication date, or is this a bug?
I would appreciate it if you could provide a way to correct the Date Format for the publication date.
Regards
Last edit: 1 month 1 week ago by hide10.
Please Log in or Create an account to join the conversation.
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 246
- Thank you received: 3
1 month 3 days ago #171198
by hide10
Replied by hide10 on topic Publication Date Format Not Applied on Detail Page
Does it take time for you to answer my question?
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12981
- Thank you received: 1680
1 month 3 days ago - 1 month 2 days ago #171200
by Mr. Dam
Replied by Mr. Dam on topic Publication Date Format Not Applied on Detail Page
Hi,
Currently, the dates (showing below the title) are fixed with format: j F Y
You can change it by following below steps:
1. Go to the Joomla installation directory and navigate to:
/templates/[your_template]/html/edocman/document
If the those folders don't exist, you can create it manually.
2. Copy file /components/com_edocman/view/document/tmpl/default.php into above folder
3. Open file by notepad
4. Find:
<?php echo HTMLHelper::_('date',$item->created_time, 'j F Y');?>
and replace by
<?php echo HTMLHelper::_('date', $item->created_time, $this->config->date_format); ?>
Good luck
Dam
Currently, the dates (showing below the title) are fixed with format: j F Y
You can change it by following below steps:
1. Go to the Joomla installation directory and navigate to:
/templates/[your_template]/html/edocman/document
If the those folders don't exist, you can create it manually.
2. Copy file /components/com_edocman/view/document/tmpl/default.php into above folder
3. Open file by notepad
4. Find:
<?php echo HTMLHelper::_('date',$item->created_time, 'j F Y');?>
and replace by
<?php echo HTMLHelper::_('date', $item->created_time, $this->config->date_format); ?>
Good luck
Dam
Last edit: 1 month 2 days ago by Mr. Dam.
Please Log in or Create an account to join the conversation.
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 246
- Thank you received: 3
1 month 2 days ago #171217
by hide10
Replied by hide10 on topic Publication Date Format Not Applied on Detail Page
Hi Dam,
My issue was solved.
However, I would like to point out that the path to default.php that you provided was incorrect.
Thanks!
My issue was solved.
However, I would like to point out that the path to default.php that you provided was incorrect.
Thanks!
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12981
- Thank you received: 1680
1 month 2 days ago #171219
by Mr. Dam
Replied by Mr. Dam on topic Publication Date Format Not Applied on Detail Page
Yes, i have corrected the comment. It's: /components/com_edocman/view/document/tmpl/default.php
Thanks
Dam
Thanks
Dam
The following user(s) said Thank You: hide10
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.