You can add Joomla custom field "file" in form xml like below,
< field name="myfilevalue" type="file" label="Enter some text" description="Choose an image from your computer with maximum 5MB" size="10" accept="image/*" />
How can i remove that text Maximum upload size: 256.00 MB which reads the value from server php.ini
I have set media manager option maximum upload file size to 10MB and also added hidden field with default size as suggested in Joomla docs like below,
< field name= "MAX_FILE_SIZE" type="hidden" default="10MB" />
I hope Joomla provides an option in field level to hide it. If anyone come across with this please advice me on this.
Thanks in Advance!!!
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-16 07:51:48 |
Closed_By | ⇒ | joomla-cms-bot |
Closed_Date | 2018-08-16 07:51:48 | ⇒ | 2018-08-16 07:51:49 |
Closed_By | joomla-cms-bot | ⇒ | franz-wohlkoenig |
Please also update to latest Version.
Status | Closed | ⇒ | New |
Closed_Date | 2018-08-16 07:51:49 | ⇒ | |
Closed_By | franz-wohlkoenig | ⇒ |
Status | New | ⇒ | Discussion |
Closed_Date | 0000-00-00 00:00:00 | ⇒ |
Set to "open" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/21636
Sorry, misread your Issue, so reopened.
Category | ⇒ | com_media |
Priority | Medium | ⇒ | Low |
The text can be removed in field layout (/layouts/joomla/form/field/file.php).
I have set media manager option maximum upload file size to 10MB
File field is not related to Media manager. Media manager options are used by Media field.
Thank you for your help.
It works fine. Hope Joomla will provide an option to hide it in form field
level instead core change.
Thanks!!
On Thu, Aug 16, 2018 at 1:59 PM SharkyKZ notifications@github.com wrote:
The text can be removed in field layout
(/layouts/joomla/form/field/file.php).I have set media manager option maximum upload file size to 10MB
File field is not related to Media manager. Media manager options are used
by Media field.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#21636 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AndK6PiPkv_rMOEqZmRPL_K1UhXyImWHks5uRS1jgaJpZM4V_XSn
.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-16 09:47:33 |
Closed_By | ⇒ | thaneshs |
instead core change
Maybe a misunderstanding? Normally you create an override of the mentioned JLayout file, not a core hack.
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/21636