accessiblemedia field form for visitors ?

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

Moderators: ooffick, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
maximeb
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Apr 29, 2024 7:21 am

accessiblemedia field form for visitors ?

Post by maximeb » Thu May 02, 2024 7:57 am

Hello,

I wonder if we can allow visitors to access to a accessiblemedia field type on form, it seems only authenticated users with minimum rights can access to this kind of fields by default, according to com_media component.

I wanted to change this for allowing visitors to use this field on forms (ofc with backend validation).

thanks

MarkRS
Joomla! Explorer
Joomla! Explorer
Posts: 345
Joined: Thu Oct 29, 2009 8:28 am
Location: UK

Re: accessiblemedia field form for visitors ?

Post by MarkRS » Thu May 02, 2024 9:30 am

A simple solution is to grant "guest" that access for the media component.
It's a community, the more we all contribute, the better it will be.

maximeb
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Apr 29, 2024 7:21 am

Re: accessiblemedia field form for visitors ?

Post by maximeb » Thu May 02, 2024 10:16 am

"Ho hi Mark" :)

Sure, it surely will solve my issue, but this solution require to modify core Joomla files (media component of Joomla server).

On my case (i didn't mention it before), i develop my own Joomla component, with my own's forms; so i'm looking for a "portable" solution that i can provide with my component.

MarkRS
Joomla! Explorer
Joomla! Explorer
Posts: 345
Joined: Thu Oct 29, 2009 8:28 am
Location: UK

Re: accessiblemedia field form for visitors ?

Post by MarkRS » Thu May 02, 2024 11:44 am

Hi @MaximB,

No, that doesn't require changing core files, but it will require manually changing permissions on the site using your component.

I don't know a way around that.
It's a community, the more we all contribute, the better it will be.

maximeb
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Apr 29, 2024 7:21 am

Re: accessiblemedia field form for visitors ?

Post by maximeb » Thu May 02, 2024 11:48 am

Allright, i'll see this, thanks


Post Reply

Return to “Joomla! 5.x Coding”