All questions about EDocman extension

SOLVED !!! Publishing details

  • Cedric CLEMENTE
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago - 6 years 1 month ago #126800 by Cedric CLEMENTE
SOLVED !!! Publishing details was created by Cedric CLEMENTE
Hello,
Is there a way for uploaders to modify "publishing details" in frontend (like Start and Finish publishing dates) ?

Thx
Last edit: 6 years 1 month ago by Dang Thuc Dam.

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

More
6 years 1 month ago #126811 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Publishing details
You can add Publishing date on document add/modification pages by following below solution
1. Open file: root -> components -> com_edocman -> view -> document -> edit.php and simple.php
2. Find:

<tr>
<td colspan="2">
<?php echo $this->form->getLabel('short_description'); ?>
<div class="clr"></div>
<?php echo $this->form->getInput('short_description'); ?>
<div class="clr"></div>
<?php echo $this->form->getLabel('description'); ?>
<div class="clr"></div>
<?php echo $this->form->getInput('description'); ?>
</td>
</tr>


and add this below:
Code:
<tr> <td class="key"> <?php echo $this->form->getLabel('publish_up'); ?> </td> <td> <?php echo $this->form->getInput('publish_up'); ?> </td> </tr> <tr> <td class="key"> <?php echo $this->form->getLabel('publish_down'); ?> </td> <td> <?php echo $this->form->getInput('publish_down'); ?> </td> </tr>

Good luck
Dam
The following user(s) said Thank You: Cedric CLEMENTE

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

  • Cedric CLEMENTE
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #126818 by Cedric CLEMENTE
Replied by Cedric CLEMENTE on topic Publishing details
Very good, it worked well.

Thank you for this solution.

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

Moderators: Dang Thuc Dam