- Posts: 16
- Thank you received: 0
All questions about EDocman extension
SOLVED Upload form - don't show file descriptions
- laura rastoldo
- Topic Author
- Offline
- New Member
-
Less
More
8 years 2 months ago - 8 years 2 months ago #93834
by laura rastoldo
SOLVED Upload form - don't show file descriptions was created by laura rastoldo
Hi,
I would like to hide the field (shord description" and "description" from the upload form. So, the user will see just "insert title", choose file and upload.
Thanks.!
I would like to hide the field (shord description" and "description" from the upload form. So, the user will see just "insert title", choose file and upload.
Thanks.!
Last edit: 8 years 2 months ago by Mr. Dam.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13024
- Thank you received: 1689
8 years 2 months ago #93903
by Mr. Dam
Replied by Mr. Dam on topic Upload form - don't show file descriptions form
Hi,
To remove Description fields in Document upload form at front-end, please follow these steps:
1. Open file: root > components > com_edocman > view > document > tmpl > simple.php
2. Find below code and remove it
Good luck
Dam
To remove Description fields in Document upload form at front-end, please follow these steps:
1. Open file: root > components > com_edocman > view > document > tmpl > simple.php
2. Find below code and remove it
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>
Good luck
Dam
Please Log in or Create an account to join the conversation.
- laura rastoldo
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 0
8 years 2 months ago #93912
by laura rastoldo
Replied by laura rastoldo on topic Upload form - don't show file descriptions form
Fantastic!! Works.
BUT, removing only that part the result was that the upload button didn't work. So, I have removed even this part:
<?php echo $this->form->getField('description')->save(); ?>
<?php echo $this->form->getField('short_description')->save(); ?>
at the beginning of file and button works fine. I have checked even the uploaded file and should be good. Please advise me if this is wrong.
THANKS!!!!
BUT, removing only that part the result was that the upload button didn't work. So, I have removed even this part:
<?php echo $this->form->getField('description')->save(); ?>
<?php echo $this->form->getField('short_description')->save(); ?>
at the beginning of file and button works fine. I have checked even the uploaded file and should be good. Please advise me if this is wrong.
THANKS!!!!
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.