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.

#108673 REPLACE default Joomla! media manager with JCE editor

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 iamrobert on Saturday, 28 August 2021 16:42 BST

iamrobert
In FLEXIcontent: /plugins/flexicontent_fields/image/image.php The image upload field has a link that controls the media popup:

$mm_link = 'index.php?option=com_media&view=images&layout=default_fc&tmpl=component&asset=com_flexicontent&author=&fieldid=\'+mm_id+\'&folder=';
I have replaced this with JCE Editor:

			$mm_link = 'index.php?option=com_jce&view=images&layout=default_fc&tmpl=component&asset=com_flexicontent&author=&fieldid=\'+mm_id+\'&folder=';
But it has some issues: View not found [name, type, prefix]: images, html, jceView https://i.imgur.com/mTRGhmU.png Is it possible to switch? Or what URL should I try? I'm using: JCE 2.9.11. The only reference I can find is: https://forum.joomla.org/viewtopic.php?t=964805 Also - I just demoed Quantum Manager and it can override the default Joomla Manager for FLEXIcontent, and everywhere else on the site. Does JCE Editor have a similar plugin to override the default media manager? Thanks Robert

Ryan
Are you referring to the image fields in the "Joomla Fields" tab?

Ryan Demmer

Lead Developer / CEO / CTO

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

iamrobert
No in FLEXIContent image field: https://github.com/FLEXIcontent/flexicontent-cck/blob/master/plugins/flexicontent_fields/image/image.php Line 825:

$mm_link = 'index.php?option=com_media&view=images&layout=default_fc&tmpl=component&asset=com_flexicontent&author=&fieldid=\'+mm_id+\'&folder=';
Its under the article (details) tab: https://i.imgur.com/JbxtAvc.png I was hoping to replace the default Joomla media manager with JCE, and the only info I found was this: https://forum.joomla.org/viewtopic.php?t=964805 which I tried to understand/implement but couldn't get it.

Ryan
You could try using:

$mm_link = 'index.php?option=com_jce&task=mediafield.display&fieldid=\'+mm_id+\';
I'll look into other ways to convert this field input.

Ryan Demmer

Lead Developer / CEO / CTO

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

Ryan
Please try JCE Pro 2.9.12 Beta - https://www.joomlacontenteditor.net/downloads/editor/pro/development

You don't need to do the url change I posted above.

Ryan Demmer

Lead Developer / CEO / CTO

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

iamrobert
Thanks, Ryan - that works brilliantly.

https://i.imgur.com/2IteJVQ.png


https://i.imgur.com/Q0ioivP.png