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
From 09:00 To 17:00 Europe/London (BST)

Please post your question in the Forum and we will get back to you as soon as we can.

  Tuesday, 13 November 2018
  14 Replies
  11K Visits
Hi,
We have detect problem with Joomla media fields and JCE integrations.

Example:

<field
name="image"
type="media"
label="COM_CONTENT_FIELD_INTRO_LABEL"
description="COM_CONTENT_FIELD_INTRO_DESC"
/>


This fire JCE File Manager with standard custom field but not working with new repeatable field (open default Joomla! media manager not JCE).

sm32 STUDIO
www.sm32.pl

more than a month ago
·
#109213
@Seppy:

Our workaround for the moment is a simple cron-job. I store the modified browser.php file somewhere on the server (in the example below inside the html folder of the template) and send it back to the original place every minute.


cp

/... your path... /public_html/templates/... your template .... /html/cronjob_components_com_jce_editor_tiny_mce_plugins_browser/browser.php
/.. your path... /public_html/components/com_jce/editor/tiny_mce/plugins/browser/browser.ph

more than a month ago
·
#109087
Hi everybody

Any news about «update-proof» of the pdf-tweek in browser.php or th the «component option» approach?

While I do understand there might be issues with a higher priority, I can't imagine this setting would be a huge trick, is it?

Or did I miss this in a release note?

thanks a lot

Seppy
more than a month ago
·
#106870
Referring to my previous post above, do you have an idea how we can make an update-proof override of browser.php where we've added "PDF" on line 54?


No, but I am looking into some alternatives for this, perhaps having the media field as a "Component" option in Editor Profiles, so that you can have a profile specifically for the Media Field File Browser.

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

more than a month ago
·
#106857
Hi Ryan,

Referring to my previous post above, do you have an idea how we can make an update-proof override of browser.php where we've added "PDF" on line 54?

The second topic regarding the JCE media manager in repeatable fields seems to be solved with JCE Pro 2.9.3 Beta 5. Thank you for that!!

Best regards
Fabian
more than a month ago
·
#106035
Hi there,

We're also very interested in this functionality in order to allow PDF uploads with repeatable fields. Therefore, we've added "PDF" on line 54 of /components/com_jce/editor/tiny_mce/plugins/browser/browser.php

secondly, we've changed the XML file as suggested by Karolrzepka. This works perfectly well beside the fact that those changes might be necessary after any update.

Does anybody have an idea how to make this "update proof"? Any help is highly appreciated.
Best regards
Fabian
more than a month ago
·
#105575
I have made a template overrides of the repeatable custom fields plugin

but I'm not sure if wiil work always.

Patrick
more than a month ago
·
#105574
Hello karolrzepka and Ryan,

I am very interested by this functionnality, it works very well.

But can you tell me if there is a risk of losing the custom fields value (images in my case) when updating joomla or jce ?

Thanks for your reply

Patrick
more than a month ago
·
#100761
Screenshot_8.png

A friend told me please go to plugins/fields/repeatable/params/repeatable.xml

and replace file:


<?xml version="1.0" encoding="utf-8"?>
<form>
<fields name="fieldparams">
<fieldset name="fieldparams">
<field
name="fields"
type="subform"
label="PLG_FIELDS_REPEATABLE_PARAMS_FIELDS_LABEL"
description="PLG_FIELDS_REPEATABLE_PARAMS_FIELDS_DESC"
multiple="true">
<form>
<fields>
<fieldset>
<field
name="fieldname"
type="text"
label="PLG_FIELDS_REPEATABLE_PARAMS_FIELDNAME_NAME_LABEL"
description="PLG_FIELDS_REPEATABLE_PARAMS_FIELDNAME_NAME_DESC"
required="true"
/>
<field
name="fieldtype"
type="list"
label="PLG_FIELDS_REPEATABLE_PARAMS_FIELDNAME_TYPE_LABEL"
description="PLG_FIELDS_REPEATABLE_PARAMS_FIELDNAME_TYPE_DESC"
>
<option value="editor">PLG_FIELDS_REPEATABLE_PARAMS_FIELDNAME_TYPE_EDITOR</option>
<option value="mediajce">PLG_FIELDS_MEDIAJCE_LABEL</option>
<option value="media">PLG_FIELDS_REPEATABLE_PARAMS_FIELDNAME_TYPE_MEDIA</option>
<option value="number">PLG_FIELDS_REPEATABLE_PARAMS_FIELDNAME_TYPE_NUMBER</option>
<option value="text">PLG_FIELDS_REPEATABLE_PARAMS_FIELDNAME_TYPE_TEXT</option>
<option value="textarea">PLG_FIELDS_REPEATABLE_PARAMS_FIELDNAME_TYPE_TEXTAREA</option>
</field>
<field
name="fieldfilter"
type="list"
label="PLG_FIELDS_TEXT_PARAMS_FILTER_LABEL"
description="PLG_FIELDS_TEXT_PARAMS_FILTER_DESC"
class="btn-group"
validate="options"
showon="fieldtype!:media,number"
>
<option value="0">JNO</option>
<option
showon="fieldtype:editor,text,textarea"
value="raw">JLIB_FILTER_PARAMS_RAW</option>
<option
showon="fieldtype:editor,text,textarea"
value="safehtml">JLIB_FILTER_PARAMS_SAFEHTML</option>
<option
showon="fieldtype:editor,text,textarea"
value="JComponentHelper::filterText">JLIB_FILTER_PARAMS_TEXT</option>
<option
showon="fieldtype:text,textarea"
value="alnum">JLIB_FILTER_PARAMS_ALNUM</option>
<option
showon="fieldtype:text,textarea"
value="integer">JLIB_FILTER_PARAMS_INTEGER</option>
<option
showon="fieldtype:text,textarea"
value="float">JLIB_FILTER_PARAMS_FLOAT</option>
<option
showon="fieldtype:text,textarea"
value="tel">JLIB_FILTER_PARAMS_TEL</option>
</field>
</fieldset>
</fields>
</form>
</field>
</fieldset>
</fields>
</form>

more than a month ago
·
#99914
Ok, thank you nevertheless, Ryan. So I'll write it in a Joomla wish list.Maybe one day ...
more than a month ago
·
#99913
Same answer as before. There is nothing I can do to change this because of the way Joomla creates the media field for the repeatable element.

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

more than a month ago
·
#99912
Any news with this? I also would appreciate it very much, thank you. :)
more than a month ago
·
#97631
At the moment this will only work if the repeatable subform field is set up as a JCE File Browser (mediajce) field and not a normal Joomla media field.

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

more than a month ago
·
#97613
Hi Ryan,

I just installed JCE Pro 2.6.34 RC1 but still the JCE File browser is not available in the repeatable media fields. See img.

ps. just want to select a single zip file here with each row.

btw. this is a repeatable field created with custom fields under Content

Regards,

Gosling
more than a month ago
·
#97484

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

  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!