All questions about EDocman extension            
        
    
    publish date in search result page
- Alison
 - 
            
				
                            Topic Author
                                 - Offline
 - Platinum Member
 - 
            
         
        Less
        More
        
    
        
            
        
                5 years 8 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.
- Dang Thuc Dam
 - 
            
				
                                 - Offline
 - Administrator
 - 
            
         
        Less
        More
        
            
    
        - Posts: 13333
 - Thank you received: 1746
 
            
        
                5 years 8 months ago                #131913
        by Dang Thuc Dam
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Dang Thuc 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
 - 
            
         
            
        
                5 years 8 months ago         -  5 years 8 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: 5 years 8 months ago  by Alison.            
            Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
 - 
            
				
                                 - Offline
 - Administrator
 - 
            
         
        Less
        More
        
            
    
        - Posts: 13333
 - Thank you received: 1746
 
            
        
                5 years 8 months ago                #132104
        by Dang Thuc Dam
    
    
    
            
            
            
            
                                
    
                                                
    
        Replied by Dang Thuc 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: 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.