You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#99574 Media manager plugin does not work in content plugins

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by pixxelfactory on Friday, 26 April 2019 15:26 BST

pixxelfactory
- Install JCE (includes the media-manager), either pro or core, does not matter
- Create a content-plugin to add fields to the standard joomla articles (we use repeatable subforms, so we have to use a custom content-plugin)
- Insert a media-field as field inside the subform
- It shows the standard (not so powerful) Joomla-Media manager, where as in other areas (modules...) the media-fields media-manager is replaced with the JCE manager

I've reported this as Joomla-Bug here:
https://github.com/joomla/joomla-cms/issues/24653

But they say it's a JCE issue.
Can you please help?

Thanks in advance
Best regards

Ryan
It is not possible to convert a repeatable media field into a repeatable mediajce field. To create a repeatable mediajce field, set the type to "mediajce" in the subform formsource file, eg:

<field name="image_repeat" type="mediajce" mediatype="files" label="Media" description="" />

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

pixxelfactory
Hi, thanks for the response, it works!
If i wanted to use the mediajce field natively in modules too (for uploading non-image files), is it possible to do so? (If i use it like this in a module it shows a text-field, maybe in the form xml i need to include a field-path or something?)

Best regards

Ryan
maybe in the form xml i need to include a field-path or something


The path is plugins/fields/mediajce

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

pixxelfactory
Thanks, appreciated!