All questions about EDocman extension

Show 'updated' date in table view

  • Alison
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
6 years 1 month ago #111686 by Alison
Show 'updated' date in table view was created by Alison
Hi Dam

In table view it currently shows the 'Created Date' (see attached sceenshot).
Can this be changed to show 'Modified Date' as this is a much more important date for the user to know than the created date.

Thanks for your help
Alison
Attachments:

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

More
6 years 1 month ago #111720 by Mr. Dam
Replied by Mr. Dam on topic Show 'updated' date in table view
Hi,
To replace "Created date" by "Updated date", please following these steps:
1. Open file: root > components > com_edocman > view > common > documents_table.php
2. Find:
Code:
echo JHtml::_('date', $item->created_time, $config->date_format, null);
and replace by
Code:
echo JHtml::_('date', $item->modified_time, $config->date_format, null);

Thanks
Dam
The following user(s) said Thank You: Alison

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

Moderators: Mr. Dam