All questions about EDocman extension

Publication Date Format Not Applied on Detail Page

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 month 1 week ago - 1 month 1 week ago #171156 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
Attachments:
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
  • Elite Member
More
1 month 3 days ago #171198 by hide10
Does it take time for you to answer my question?

Please Log in or Create an account to join the conversation.

More
1 month 3 days ago - 1 month 2 days ago #171200 by Mr. Dam
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
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
  • Elite Member
More
1 month 2 days ago #171217 by hide10
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!

Please Log in or Create an account to join the conversation.

More
1 month 2 days ago #171219 by Mr. Dam
Yes, i have corrected the comment. It's: /components/com_edocman/view/document/tmpl/default.php
Thanks
Dam
The following user(s) said Thank You: hide10

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam