<img src="https://www.joomlacontenteditor.net/{" media_src":"images\="" comprofiler\="" XXX_www.jpg","media_text":"protrait="" xxx"}"="" alt="Portrait XXX" title="XXX">
Best regards
Sigrid
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
09:00 - 17:00 Europe/London (BST)
Please create a new Ticket and we will get back to you as soon as we can.
#115596 Cannot add JCE media custom field values
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 Tuesday, 19 December 2023 16:13 GMT
Sunday, 17 December 2023 11:16 GMT
Sunday, 17 December 2023 22:29 GMT
json_decode($fields['image-de-l-article']))->media_src
where $field[] is your custom field. In my case I had to test like this
is_array(json_decode($fields['image-de-l-article'], true)
because it will don't display the old article image that still have the "simple path".
Monday, 18 December 2023 09:01 GMT
A beta will be available later today.
Ryan Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Monday, 18 December 2023 10:23 GMT
The file path is changed as soon as I fill in the "description field" e.g. from /image/documet.pdf to /images/ This is changed as soon as the "description field" is filled in (example path): /%7B%22media_src%22:%22images//document.pdf%22,%22media_text%22:%22test%22,%22media_supported%22:[%22img%22,%22video%22,%22audio%22,%22iframe%22,%22a%22,%22object%22]%7D"
The "description field" could also be hidden so that it is not used by users.
regards
adi
Monday, 18 December 2023 10:29 GMT
Go to System -> Manage -> Plugins (Extensions -> Plugins in Joomla 3), search for Fields - Media JCE and click on it to edit the parameters.
Set Legacy Media Support to Yes and Save.
Open and re-save any of the media fields you were experiencing issues with.
Ryan Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Monday, 18 December 2023 12:08 GMT
It works for my user fields now :-)
Tuesday, 19 December 2023 11:14 GMT
Tuesday, 19 December 2023 15:48 GMT
Tuesday, 19 December 2023 16:13 GMT
will there be a long term fix....(instead of legacy ??? )
No, because the change is not a bug, it is an intentional feature addition. If you wish to use the JCE Media Field value in a non-standard way, directly from the database instead of via the JCE Media Field Layout (or a layout override), then you will need to the use the legacy option in future.
Ryan Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Please wait
Your post is being submitted…