- Posts: 277
- Thank you received: 3
All questions about EDocman extension
Issue with “Maximum Upload Size” Display in Frontend Upload Form
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
3 weeks 5 days ago #175874
by hide10
Issue with “Maximum Upload Size” Display in Frontend Upload Form was created by hide10
Hello,
I believe the value set in Upload Configuration: Max Upload File Size should be reflected in the “Maximum upload size” displayed on the frontend upload form.
However, the current behavior varies depending on the site: sometimes it shows the value from the server’s Default INI Setting, and other times it simply displays “2MB.”
This seems to be a bug.
Could you please check the behavior?
Thanks
P.S. My system information:
- Joomla 5.4
- EDocman 3.1
- PHP 8.2.20
- MySQL 8.0.42
- Apache
I believe the value set in Upload Configuration: Max Upload File Size should be reflected in the “Maximum upload size” displayed on the frontend upload form.
However, the current behavior varies depending on the site: sometimes it shows the value from the server’s Default INI Setting, and other times it simply displays “2MB.”
This seems to be a bug.
Could you please check the behavior?
Thanks
P.S. My system information:
- Joomla 5.4
- EDocman 3.1
- PHP 8.2.20
- MySQL 8.0.42
- Apache
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13442
- Thank you received: 1761
3 weeks 4 days ago #175882
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Issue with “Maximum Upload Size” Display in Frontend Upload Form
Hi,
The line showing "Maximum Upload file size" is a core feature of Joomla. However, you can handle it as follows:
1. Open the file: root/language/en-GB/en-GB.com_edocman.ini
2. Add this line:
JGLOBAL_MAXIMUM_UPLOAD_SIZE_LIMIT=""
You can enter a custom translation that matches your upload limit, or simply leave it empty to hide this line.
Best regards,
Dam
The line showing "Maximum Upload file size" is a core feature of Joomla. However, you can handle it as follows:
1. Open the file: root/language/en-GB/en-GB.com_edocman.ini
2. Add this line:
JGLOBAL_MAXIMUM_UPLOAD_SIZE_LIMIT=""
You can enter a custom translation that matches your upload limit, or simply leave it empty to hide this line.
Best regards,
Dam
Please Log in or Create an account to join the conversation.
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 277
- Thank you received: 3
3 weeks 4 days ago #175884
by hide10
Replied by hide10 on topic Issue with “Maximum Upload Size” Display in Frontend Upload Form
Thank you for the explanation.
Just to clarify my original point:
The issue I reported is not about the text string itself, but about the inconsistency between the value set in “Max Upload File Size” and the value displayed as “Maximum upload size” on the frontend upload form.
In my understanding, the frontend display should normally reflect the configuration value set in EDocman. However, depending on the site, the displayed value is sometimes taken from the server’s default INI setting or fixed at 2MB.
This inconsistency made me think that there might be an issue in the logic that determines which value is shown.
Could you please check this behavior on your side?
Thank you for looking into this.
Just to clarify my original point:
The issue I reported is not about the text string itself, but about the inconsistency between the value set in “Max Upload File Size” and the value displayed as “Maximum upload size” on the frontend upload form.
In my understanding, the frontend display should normally reflect the configuration value set in EDocman. However, depending on the site, the displayed value is sometimes taken from the server’s default INI setting or fixed at 2MB.
This inconsistency made me think that there might be an issue in the logic that determines which value is shown.
Could you please check this behavior on your side?
Thank you for looking into this.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13442
- Thank you received: 1761
3 weeks 4 days ago #175885
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Issue with “Maximum Upload Size” Display in Frontend Upload Form
Hi,
The file responsible for displaying the upload size is created by Joomla at this location: layouts/joomla/form/field/file.php. Joomla takes the value from the PHP ini settings, which is why you see this inconsistency.
Additionally, Joomla does not allow overriding the layout for this file, so the only solution is to override the text in the language file.
Thanks
Dam
The file responsible for displaying the upload size is created by Joomla at this location: layouts/joomla/form/field/file.php. Joomla takes the value from the PHP ini settings, which is why you see this inconsistency.
Additionally, Joomla does not allow overriding the layout for this file, so the only solution is to override the text in the language file.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 277
- Thank you received: 3
3 weeks 3 days ago #175913
by hide10
Replied by hide10 on topic Issue with “Maximum Upload Size” Display in Frontend Upload Form
Hi Dam,
Thank you for the explanation.
I understand your point about Joomla’s core file field layout.
However, the issue I reported is not about the Joomla layout itself, but about the inconsistency between EDocman’s own “Max Upload File Size” configuration and the value displayed on the frontend upload form.
Other extensions (for example, Convert Forms) are able to display a custom upload size that matches their configuration, so it seems technically possible to provide a consistent value independent of Joomla’s default layout.
If the displayed value cannot reliably match EDocman’s configuration, then hiding the line may be a better option than showing an incorrect value to users.
However, to enhance the value of EDocman, I believe it would be much more beneficial to display the correct value based on the backend configuration rather than simply hiding the line.
Could you please consider this point?
Thanks
Thank you for the explanation.
I understand your point about Joomla’s core file field layout.
However, the issue I reported is not about the Joomla layout itself, but about the inconsistency between EDocman’s own “Max Upload File Size” configuration and the value displayed on the frontend upload form.
Other extensions (for example, Convert Forms) are able to display a custom upload size that matches their configuration, so it seems technically possible to provide a consistent value independent of Joomla’s default layout.
If the displayed value cannot reliably match EDocman’s configuration, then hiding the line may be a better option than showing an incorrect value to users.
However, to enhance the value of EDocman, I believe it would be much more beneficial to display the correct value based on the backend configuration rather than simply hiding the line.
Could you please consider this point?
Thanks
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13442
- Thank you received: 1761
3 weeks 2 days ago - 3 weeks 2 days ago #175920
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Issue with “Maximum Upload Size” Display in Frontend Upload Form
Hi,
We have found a better solution for this issue and will include it in the next release of Edocman. Thank you for your feedback and patience.
Dam
We have found a better solution for this issue and will include it in the next release of Edocman. Thank you for your feedback and patience.
Dam
Last edit: 3 weeks 2 days ago by Dang Thuc Dam.
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc 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.