- Posts: 277
- 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
9 months 2 weeks ago - 9 months 2 weeks 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: 9 months 2 weeks ago by hide10.
Please Log in or Create an account to join the conversation.
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 277
- Thank you received: 3
9 months 1 week 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.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13416
- Thank you received: 1756
9 months 1 week ago - 9 months 1 week ago #171200
by Dang Thuc Dam
Replied by Dang Thuc 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: 9 months 1 week ago by Dang Thuc Dam.
Please Log in or Create an account to join the conversation.
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 277
- Thank you received: 3
9 months 1 week 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.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13416
- Thank you received: 1756
9 months 1 week ago #171219
by Dang Thuc Dam
Replied by Dang Thuc 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.
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 277
- Thank you received: 3
2 weeks 4 days ago #175791
by hide10
Replied by hide10 on topic Publication Date Format Not Applied on Detail Page
Hello,
I asked a similar question in the past, but it seems that the old method no longer works in EDocman 3.1.
The date shown under Published on does not reflect the Date Format setting in the EDocman Configuration.
I checked components/com_edocman/view/document/tmpl/default.php as before, but in the current version I can no longer find
<?php echo HTMLHelper::_('date', $item->created_time, 'j F Y'); ?>.
Please explain how to address this issue.
Thanks
I asked a similar question in the past, but it seems that the old method no longer works in EDocman 3.1.
The date shown under Published on does not reflect the Date Format setting in the EDocman Configuration.
I checked components/com_edocman/view/document/tmpl/default.php as before, but in the current version I can no longer find
<?php echo HTMLHelper::_('date', $item->created_time, 'j F Y'); ?>.
Please explain how to address this issue.
Thanks
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13416
- Thank you received: 1756
2 weeks 4 days ago #175793
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Publication Date Format Not Applied on Detail Page
Hi,
That issue has been addressed in the latest versions of EDocman. The date format is no longer hard-coded as it was before. The system now uses the Date Format setting from the EDocman Configuration.
However, if you are still experiencing this issue, it is possible that your template contains an override of the Document Details layout. In this case, please check your template overrides to ensure they are not using the old hard-coded date format.
Thanks
Dam
That issue has been addressed in the latest versions of EDocman. The date format is no longer hard-coded as it was before. The system now uses the Date Format setting from the EDocman Configuration.
However, if you are still experiencing this issue, it is possible that your template contains an override of the Document Details layout. In this case, please check your template overrides to ensure they are not using the old hard-coded date format.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 277
- Thank you received: 3
2 weeks 4 days ago #175794
by hide10
Replied by hide10 on topic Publication Date Format Not Applied on Detail Page
Hi,
Unfortunately, the latest EDocman does not behave as you intended.
I confirmed this because I am currently building a new site and, after performing a fresh installation of EDocman, the same issue appeared again.
Just to be sure, I also checked the html directory of the T4 framework I am using, but there is no com_edocman folder inside it.
Thanks
Unfortunately, the latest EDocman does not behave as you intended.
I confirmed this because I am currently building a new site and, after performing a fresh installation of EDocman, the same issue appeared again.
Just to be sure, I also checked the html directory of the T4 framework I am using, but there is no com_edocman folder inside it.
Thanks
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13416
- Thank you received: 1756
2 weeks 2 days ago #175813
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Publication Date Format Not Applied on Detail Page
Hi,
Please submit ticket on category: Edocman and provide your site credentials, we will check the issue for you
Thanks
Dam
Please submit ticket on category: Edocman and provide your site credentials, we will check the issue for you
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc 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.