- Posts: 8
- Thank you received: 0
All questions about EDocman extension
remove full description editor
- Darren Knipe
- Topic Author
- Offline
- New Member
-
Less
More
7 years 1 month ago #110630
by Darren Knipe
remove full description editor was created by Darren Knipe
Hi
when upload a file in frontend, I want to just have text description of short description, and remove the long description text editor.
how do I do it?
when upload a file in frontend, I want to just have text description of short description, and remove the long description text editor.
how do I do it?
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13023
- Thank you received: 1688
7 years 1 month ago #110659
by Mr. Dam
Replied by Mr. Dam on topic remove full description editor
Hi Darren,
To remove full description when modifying document at front-end, you can follow these steps:
1/ Open file: root > components > com_edocman > view > document > tmpl > edit.php and simple.php
2/ Find:
Good luck
Dam
To remove full description when modifying document at front-end, you can follow these steps:
1/ Open file: root > components > com_edocman > view > document > tmpl > edit.php and simple.php
2/ Find:
Code:
<?php echo $this->form->getLabel('description'); ?>
<div class="clr"></div>
<?php echo $this->form->getInput('description'); ?>
Dam
Please Log in or Create an account to join the conversation.
- Darren Knipe
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
7 years 1 month ago #110668
by Darren Knipe
Replied by Darren Knipe on topic remove full description editor
Great thank you. I managed to work it out last night and created a template override version to do this.
Is it possible to show Published Date field in frontend edit? I want to upload a load of archive docs to a site, and they need to be time relevant, so minutes from 2005 need to have published that year.
Is it possible to show Published Date field in frontend edit? I want to upload a load of archive docs to a site, and they need to be time relevant, so minutes from 2005 need to have published that year.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13023
- Thank you received: 1688
7 years 1 month ago #110814
by Mr. Dam
Replied by Mr. Dam on topic remove full description editor
Hi Darren,
To show Published date at front-end, you can follow these steps
1. Open file:
root > components > com_edocman > view > document > tmpl > default.php
2. Find:
and change to
Good luck
Dam
To show Published date at front-end, you can follow these steps
1. Open file:
root > components > com_edocman > view > document > tmpl > default.php
2. Find:
Code:
if(($item->created_time > 0) && ($this->config->show_creation_date == 1)){
?>
<span class="created-on-label">
<time datetime="<?php echo $item->created_time;?>" itemprop="datePublished"> <?php echo JText::_('EDOCMAN_PUBLISHED_ON');?> <?php echo JHTML::_('date',$item->created_time, 'j F Y');?> </time>
</span>
<?php
}
Code:
if(($item->publish_up > 0) && ($this->config->show_creation_date == 1)){
?>
<span class="created-on-label">
<time datetime="<?php echo $item->publish_up;?>" itemprop="datePublished"> <?php echo JText::_('EDOCMAN_PUBLISHED_ON');?> <?php echo JHTML::_('date',$item->publish_up, 'j F Y');?> </time>
</span>
<?php
}
Good luck
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. 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.