- Posts: 13
- Thank you received: 1
All questions about EDocman extension
Start/Finish Publishing dates in the frontend
- Didier Pollez
- Topic Author
- Away
- New Member
-
Less
More
5 years 9 months ago #126170
by Didier Pollez
Start/Finish Publishing dates in the frontend was created by Didier Pollez
Is there a possibility to show and edit the Start/Finish Publishing dates in the frontend upload form?
Thanks
Didier.
Thanks
Didier.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13020
- Thank you received: 1688
5 years 9 months ago #126196
by Mr. Dam
Replied by Mr. Dam on topic Start/Finish Publishing dates in the frontend
Hi,
Yes, you can add Start/End publishing dates at frontend by this way.
1. Open file: root -> components -> com_edocman -> view -> document -> tmpl -> edit.php
2. Find code
and add
below
Good luck
Dam
Yes, you can add Start/End publishing dates at frontend by this way.
1. Open file: root -> components -> com_edocman -> view -> document -> tmpl -> edit.php
2. Find code
Code:
<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
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>
below
Good luck
Dam
Please Log in or Create an account to join the conversation.
- Didier Pollez
- Topic Author
- Away
- New Member
-
Less
More
- Posts: 13
- Thank you received: 1
5 years 9 months ago #126201
by Didier Pollez
Replied by Didier Pollez on topic Start/Finish Publishing dates in the frontend
Super Dam, thanks!
I created 2 overrides in my template: edit.php en simple.php
Can you also show me the right files and code to display these dates in the “display” document metadata screens?
Thanks
Didier.
I created 2 overrides in my template: edit.php en simple.php
Can you also show me the right files and code to display these dates in the “display” document metadata screens?
Thanks
Didier.
Please Log in or Create an account to join the conversation.
- Didier Pollez
- Topic Author
- Away
- New Member
-
Less
More
- Posts: 13
- Thank you received: 1
5 years 9 months ago #126591
by Didier Pollez
Replied by Didier Pollez on topic Start/Finish Publishing dates in the frontend
HI Joomdonation
Can you answer my second question please?:
"Can you also show me the right files and code to display these dates in the "display" document metadata screens?"
Thanks
Didier
Can you answer my second question please?:
"Can you also show me the right files and code to display these dates in the "display" document metadata screens?"
Thanks
Didier
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13020
- Thank you received: 1688
5 years 9 months ago #126598
by Mr. Dam
Replied by Mr. Dam on topic Start/Finish Publishing dates in the frontend
Hi,
The modified files are:
root -> components -> com_edocman -> view -> document -> tmpl -> edit.php and simple.php
Thanks
Dam
The modified files are:
root -> components -> com_edocman -> view -> document -> tmpl -> edit.php and simple.php
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Didier Pollez
- Topic Author
- Away
- New Member
-
Less
More
- Posts: 13
- Thank you received: 1
5 years 9 months ago #126845
by Didier Pollez
Replied by Didier Pollez on topic Start/Finish Publishing dates in the frontend
Hi Dan
I did this and this work perfectly in the “edit” and “upload”screens.
Bu I also want to see these two dates in the “view” document metadata screens, see screendump.
I think it must be done in the default.php and maybe other files but I’m not sure and don’t know the codes.
Can you help me here also?
Thanks
Didier.
I did this and this work perfectly in the “edit” and “upload”screens.
Bu I also want to see these two dates in the “view” document metadata screens, see screendump.
I think it must be done in the default.php and maybe other files but I’m not sure and don’t know the codes.
Can you help me here also?
Thanks
Didier.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13020
- Thank you received: 1688
5 years 8 months ago #127165
by Mr. Dam
Replied by Mr. Dam on topic Start/Finish Publishing dates in the frontend
Hi Didier,
You can submit ticket and send your site url with super admin account. My staff will help you to add Start/End publishing time to solve the problem.
Thanks
Dam
You can submit ticket and send your site url with super admin account. My staff will help you to add Start/End publishing time to solve the problem.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Didier Pollez
- Topic Author
- Away
- New Member
-
Less
More
- Posts: 13
- Thank you received: 1
5 years 8 months ago #127168
by Didier Pollez
Replied by Didier Pollez on topic Start/Finish Publishing dates in the frontend
Hi Dam
I got the solution from Quan, see ticket #91221
This works perfectly now, thanks for super support!
Didier.
I got the solution from Quan, see ticket #91221
This works perfectly now, thanks for super support!
Didier.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13020
- Thank you received: 1688
5 years 8 months ago #127169
by Mr. Dam
Replied by Mr. Dam on topic Start/Finish Publishing dates in the frontend
OK Didier
Thanks
Dam
Thanks
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.