- Posts: 31
- Thank you received: 0
All questions about EDocman extension
Customizing Upload Document Description box size
- Kent Chadwick
- Topic Author
- Offline
- Junior Member
-
Less
More
5 years 11 months ago - 5 years 11 months ago #124999
by Kent Chadwick
Customizing Upload Document Description box size was created by Kent Chadwick
We would like to make the "Short Description" and the "Description" inputboxes on the Upload Document form shorter. I found that the setting for those inputboxes are in the administrator/components/com_edocman/model/forms/document.xml file:
But when I change to height = "75", the change doesn't work when the form displays. When the form loads, the inputbox is shorter, but then the form refreshes to 150. What else do I need to change?
Thank you,
Kent
Code:
<field
name="short_description"
type="editor"
label="EDOCMAN_SHORT_DESCRIPTION"
description="EDOCMAN_SHORT_DESCRIPTION_DESC"
class="inputbox"
filter="JComponentHelper::filterText"
width="100%"
height="150"
buttons="true"
hide="readmore,pagebreak,module"/>
But when I change to height = "75", the change doesn't work when the form displays. When the form loads, the inputbox is shorter, but then the form refreshes to 150. What else do I need to change?
Thank you,
Kent
Last edit: 5 years 11 months ago by Kent Chadwick.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13021
- Thank you received: 1688
5 years 11 months ago #125004
by Mr. Dam
Replied by Mr. Dam on topic Customizing Upload Document Description box size
Hi Kent,
The description fields are editors, so that, we can't setup width and height sizes of those fields at frontend
Thanks
Dam
The description fields are editors, so that, we can't setup width and height sizes of those fields at frontend
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Kent Chadwick
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 0
5 years 11 months ago #125013
by Kent Chadwick
Replied by Kent Chadwick on topic Customizing Upload Document Description box size
Dam,
Thank you for your quick response and your explanation.
Regards,
Kent
Thank you for your quick response and your explanation.
Regards,
Kent
Please Log in or Create an account to join the conversation.
- Arnold S.
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
5 years 10 months ago #125639
by Arnold S.
Replied by Arnold S. on topic Customizing Upload Document Description box size
Hi Dam
And when I do not want a document description box in the upload form? Where can I switch off this function?
Thx
Arnold
And when I do not want a document description box in the upload form? Where can I switch off this function?
Thx
Arnold
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13021
- Thank you received: 1688
5 years 10 months ago #125640
by Mr. Dam
Replied by Mr. Dam on topic Customizing Upload Document Description box size
Hi Arnold,
Please let know the Upload form that you are using at frontend, simple or fully form?
Thanks
Dam
Please let know the Upload form that you are using at frontend, simple or fully form?
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Arnold S.
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
5 years 10 months ago #125641
by Arnold S.
Replied by Arnold S. on topic Customizing Upload Document Description box size
Hi Mr. Dam
I use the simple form
THX
I use the simple form
THX
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13021
- Thank you received: 1688
5 years 10 months ago #125642
by Mr. Dam
Replied by Mr. Dam on topic Customizing Upload Document Description box size
Hi,
Please open file: root -> components -> com_edocman -> view -> document -> tmpl -> simple.php
Find:
And remove them
Thanks
Dam
Please open file: root -> components -> com_edocman -> view -> document -> tmpl -> simple.php
Find:
Code:
<?php echo $this->form->getField('description')->save(); ?>
Code:
<?php echo $this->form->getField('short_description')->save(); ?>
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 remove them
Thanks
Dam
The following user(s) said Thank You: Arnold S.
Please Log in or Create an account to join the conversation.
- Arnold S.
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
5 years 10 months ago #125643
by Arnold S.
Replied by Arnold S. on topic Customizing Upload Document Description box size
Hi Mr. Dam
Thanks a lot .... it works
CU
Thanks a lot .... it works

CU
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.