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.

#105725 Where is the JCE media in the repeatable field?

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 Ryan on Thursday, 03 December 2020 10:15 GMT

twan2005
I have an old JCE editor on a website (2.6.34-beta7) where I can choose the JCE editor in the repeatable field.

Now for a new website I renewed my jce subscription and got the newest version but the JCE media option is gone, I can only choose the default joomla media. Why?

On my site with old jce:

https://i.gyazo.com/ab35cc12d92bd124979b73f6dfef2019.png

On my site with newest jce version:

https://i.gyazo.com/b963353f30e8df123a721741caa953f1.png

How can I choose the JCE media in the repeatable field in JCE 2.9.1?

Ryan
The options available are hard-coded into the repeatable field parameters, and so JCE File Browser is not available.

Ryan Demmer

Lead Developer / CEO / CTO

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

twan2005
Is there a way to add JCE in the code? If so where can I do that? I think it has been done on the old website since there I can pick the JCE browser.

Ryan
You can see the options for the field in this file - /plugins/fields/repeatable/params/repeatable.xml

Ryan Demmer

Lead Developer / CEO / CTO

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

twan2005
Thank you. What do I add there? I found somewhere on the forums the following:

<field
    name="image_repeat"
    type="mediajce"
    label="Media"
    description="" 
/>
But this just adds an image input for every repeatable option. What can I add to get the result of the first image in my post?

twan2005
Bump

Ryan
In this file - plugins/fields/repeatable/params/repeatable.xml add a new option under

<option value="media">PLG_FIELDS_REPEATABLE_PARAMS_FIELDNAME_TYPE_MEDIA</option>
eg:

<option value="mediajce">JCE Media</option>

Ryan Demmer

Lead Developer / CEO / CTO

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