Media form field - Open media manager with specific settings

For Joomla! 3.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, General Support Moderators

Forum rules
Locked
vigal
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Apr 07, 2016 6:07 am

Media form field - Open media manager with specific settings

Post by vigal » Sat Jun 25, 2016 11:12 am

What I try to get is the media form field to open with:




- A user specific directory. It has subfolders in it which should be allowed to open. One shouldn't be able to navigate above the own directory

- Add a filter for directory files to disclude files starting with "thumb_"

- Remove the file upload and image url form the modal window




I was trying to create a layout override for the form field within com_media by adjusting the url from:



Code: Select all

index.php?option=com_media&view=images&tmpl=component



to:



Code: Select all

index.php?option=com_media&view=images&layout=custom&tmpl=component



In my copy of the media form field layout (made custom field mediacustom and included that in my form.xml).




Any thoughts how to achieve the above with the build in Media Manager?

When I place a default.php in com_media override path of my frontend template, I get that output. But that would mean it wouldn't be component specific the output, which I need.

Locked

Return to “Joomla! 3.x Coding”