All questions about EDocman extension
publish date in search result page
- Alison
- Topic Author
- Offline
- Platinum Member
Less
More
4 years 10 months ago #131910
by Alison
publish date in search result page was created by Alison
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12826
- Thank you received: 1660
4 years 10 months ago #131913
by Mr. Dam
Replied by Mr. Dam on topic publish date in search result page
Hi,
You can add Published date of documents by opening file: root -> components -> com_edocman -> view -> common -> documents_default.php
Find:
<?php echo $item->title; ?>
after the A tag to show title of documents, you can add code
<?php echo JHTML::_('date',$item->created_time, 'j F Y');?>
to show created date of documents
Thanks
Dam
You can add Published date of documents by opening file: root -> components -> com_edocman -> view -> common -> documents_default.php
Find:
<?php echo $item->title; ?>
after the A tag to show title of documents, you can add code
<?php echo JHTML::_('date',$item->created_time, 'j F Y');?>
to show created date of documents
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Alison
- Topic Author
- Offline
- Platinum Member
4 years 10 months ago - 4 years 10 months ago #131955
by Alison
Replied by Alison on topic publish date in search result page
Can you confirm that this code will only change the layout of the search results page?
Also in the future, can this be made an option in the search plugin rather than having to edit the code?
Also in the future, can this be made an option in the search plugin rather than having to edit the code?
Last edit: 4 years 10 months ago by Alison.
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12826
- Thank you received: 1660
4 years 10 months ago #132104
by Mr. Dam
Replied by Mr. Dam on topic publish date in search result page
Hi Alison,
Actually, the documents listing pages are using the same layouts. So that, the change will be applied to Documents listing pages also, not just with Search layout
Thanks
Dam
Actually, the documents listing pages are using the same layouts. So that, the change will be applied to Documents listing pages also, not just with Search layout
Thanks
Dam
The following user(s) said Thank You: Alison
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2024 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.