?
avatar thaneshs
thaneshs
16 Aug 2018

Steps to reproduce the issue

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/*" />

Expected result

download 3

Actual result

download

How can i remove that text Maximum upload size: 256.00 MB which reads the value from server php.ini

Additional comments

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!!!

avatar thaneshs thaneshs - open - 16 Aug 2018
avatar joomla-cms-bot joomla-cms-bot - change - 16 Aug 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Aug 2018
avatar joomla-cms-bot joomla-cms-bot - change - 16 Aug 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-08-16 07:51:48
Closed_By joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 16 Aug 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Aug 2018
Closed_Date 2018-08-16 07:51:48 2018-08-16 07:51:49
Closed_By joomla-cms-bot franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 16 Aug 2018
avatar thaneshs thaneshs - change - 16 Aug 2018
The description was changed
avatar thaneshs thaneshs - edited - 16 Aug 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 Aug 2018

Please ask help on the forums. This repository concerns in first Place Joomla-Core coding. For this Reason closing this Issue, thanks.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 Aug 2018

Please also update to latest Version.

avatar joomla-cms-bot joomla-cms-bot - change - 16 Aug 2018
Status Closed New
Closed_Date 2018-08-16 07:51:49
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - reopen - 16 Aug 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Aug 2018
Status New Discussion
Closed_Date 0000-00-00 00:00:00
avatar joomla-cms-bot
joomla-cms-bot - comment - 16 Aug 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 Aug 2018

Sorry, misread your Issue, so reopened.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21636.

avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Aug 2018
Category com_media
avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Aug 2018
Priority Medium Low
avatar SharkyKZ
SharkyKZ - comment - 16 Aug 2018

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.

avatar thaneshs
thaneshs - comment - 16 Aug 2018

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
.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 Aug 2018

@thaneshs If Issue is solved please close it.

Hope Joomla will provide an option to hide it in form field level instead core change.

can you please open a Feature Request so this Wish didn't get lost?

avatar thaneshs thaneshs - change - 16 Aug 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-08-16 09:47:33
Closed_By thaneshs
avatar thaneshs thaneshs - close - 16 Aug 2018
avatar ReLater
ReLater - comment - 16 Aug 2018

instead core change

Maybe a misunderstanding? Normally you create an override of the mentioned JLayout file, not a core hack.

Add a Comment

Login with GitHub to post a comment