Keyword

cannot see jce editor

  • Mario Notaro
  • Mario Notaro's Avatar Topic Author
  • Offline
  • New Member
More
14 years 3 months ago #92820 by Mario Notaro
cannot see jce editor was created by Mario Notaro
Hi,

I have all the last versions of k2 and jce editor. Everything work fine and server and installation is new.

But even if I configure JCE editor into Joomla, I cannot see it in K2 articles, why ?

 

 

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #92821 by Simon Wells
Replied by Simon Wells on topic cannot see jce editor
Normally this should be easy and straightforward, just install JCE and K2, does not matter which comes first.

Check that you have set JCE as the default in Joomla Global Configuration > Site Settings and change the default WYSIWYG editor.There is also possability to over ride this within the JCE parameters and also per user.

If you need further help, please ask here. 

Simon K2 Support 

Please Log in or Create an account to join the conversation.

  • Mario Notaro
  • Mario Notaro's Avatar Topic Author
  • Offline
  • New Member
More
14 years 3 months ago #92822 by Mario Notaro
Replied by Mario Notaro on topic cannot see jce editor
Hi Simon,

solved just unpublishing Tiny Editor plugin :)


Simon Wells (K2 Support) said:

Normally this should be easy and straightforward, just install JCE and K2, does not matter which comes first.

Check that you have set JCE as the default in Joomla Global Configuration > Site Settings and change the default WYSIWYG editor.There is also possability to over ride this within the JCE parameters and also per user.

If you need further help, please ask here. 

Simon K2 Support 

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #92823 by fashion
Replied by fashion on topic cannot see jce editor
Hi, I have the same problem. Installed last version ok K2 and JCE (Joomla 1.5.22), configured JCE as default editor. if I create a new item in K2 the editor shows but when I want to edit an existing item the editor disappear (there is onli show/hide on top of the textarea, wich does not work). I tried to unpublish Tyny but with no result. Can you help me?

Simon Wells (K2 Support) said:
Normally this should be easy and straightforward, just install JCE and K2, does not matter which comes first.

Check that you have set JCE as the default in Joomla Global Configuration > Site Settings and change the default WYSIWYG editor.There is also possability to over ride this within the JCE parameters and also per user.

If you need further help, please ask here. 

Simon K2 Support 

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #92824 by Matthew Turk
Replied by Matthew Turk on topic cannot see jce editor
Me, too, exact same problem as fashion (K2 v2.4.1 and Joomla v1.5.22) ... anybody getting anywhere with this?

fashion said:
Hi, I have the same problem. Installed last version ok K2 and JCE (Joomla 1.5.22), configured JCE as default editor. if I create a new item in K2 the editor shows but when I want to edit an existing item the editor disappear (there is onli show/hide on top of the textarea, wich does not work). I tried to unpublish Tyny but with no result. Can you help me?
Simon Wells (K2 Support) said:
Normally this should be easy and straightforward, just install JCE and K2, does not matter which comes first.

Check that you have set JCE as the default in Joomla Global Configuration > Site Settings and change the default WYSIWYG editor.There is also possability to over ride this within the JCE parameters and also per user.

If you need further help, please ask here. 

Simon K2 Support 

Please Log in or Create an account to join the conversation.

  • Opulent Projects Ltd
  • Opulent Projects Ltd's Avatar
  • Offline
  • New Member
More
14 years 1 month ago #92825 by Opulent Projects Ltd
Replied by Opulent Projects Ltd on topic cannot see jce editor
excalty the same as fashion and matt.

has any one solved this yet!.

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #92826 by fashion
Replied by fashion on topic cannot see jce editor
Hi, I just found the cause of this issue: there was a custom field I created with TEXT AREA and text editor enabled. Wehn I switched off the text editor in this custom field JCE turned on again. But this is a temporary fix...

Please Log in or Create an account to join the conversation.

  • Opulent Projects Ltd
  • Opulent Projects Ltd's Avatar
  • Offline
  • New Member
More
14 years 1 month ago #92827 by Opulent Projects Ltd
Replied by Opulent Projects Ltd on topic cannot see jce editor
Hi

Where did you create the custom field, sorry to stupid I may need to do a lot of back tracking. This is driving me round the bend.

Thanks.

Please Log in or Create an account to join the conversation.

More
14 years 3 weeks ago #92828 by HJM Cortooms
Replied by HJM Cortooms on topic cannot see jce editor
Same problem here, but ONLY in Firefox4.

It's working fine in IE8.

 

 

Please Log in or Create an account to join the conversation.

More
14 years 3 weeks ago #92829 by Ruth Cheesley
Replied by Ruth Cheesley on topic cannot see jce editor
Same problem here, Joomla 1.5.23, JCE 1.5.7.11 and K2 2.4.1.  New articles the editor is off, but I can turn it on.  Current articles when I edit them, there doesn't seem to be any way of turning on the editor so having to manually code everything Yawn!.  I'm using Firefox 3.6.x so it happens in older versions of FF as well. 

 

Have posted it on the members bit of the JCE forum but no response yet:

www.joomlacontenteditor.net/forum/topic?f=31&t=20481&p=40968#p40968

 

Ruth

Ruth Cheesley
Virya Technologies

Please Log in or Create an account to join the conversation.

More
14 years 3 weeks ago #92830 by Matthew Turk
Replied by Matthew Turk on topic cannot see jce editor
Thanks Ruth, keep us posted ...

Please Log in or Create an account to join the conversation.

  • Opulent Projects Ltd
  • Opulent Projects Ltd's Avatar
  • Offline
  • New Member
More
14 years 2 weeks ago #92831 by Opulent Projects Ltd
Replied by Opulent Projects Ltd on topic cannot see jce editor
cheers ruth.

Ruth Cheesley said:
Same problem here, Joomla 1.5.23, JCE 1.5.7.11 and K2 2.4.1.  New articles the editor is off, but I can turn it on.  Current articles when I edit them, there doesn't seem to be any way of turning on the editor so having to manually code everything Yawn!.  I'm using Firefox 3.6.x so it happens in older versions of FF as well. 

 

Have posted it on the members bit of the JCE forum but no response yet:

www.joomlacontenteditor.net/forum/topic?f=31&t=20481&;...

 

Ruth

Please Log in or Create an account to join the conversation.

More
14 years 1 week ago #92832 by Bryan Smith
Replied by Bryan Smith on topic cannot see jce editor
same problem here

 

turning off "use editor" in extra fields solved the problem, but now no editor in extra fields.  :(

Please Log in or Create an account to join the conversation.

More
14 years 1 week ago #92833 by Ron Eli
Replied by Ron Eli on topic cannot see jce editor
I want to add my 2 cents here, if someone is using he JCH_Optimize plugin...turn off "minify js" will fixed this. You can see it working here: Hair Transplant Blog

Please Log in or Create an account to join the conversation.

More
14 years 21 hours ago #92834 by Pepijn Baart
Replied by Pepijn Baart on topic cannot see jce editor
Hi everybody,

 

I had the same trouble with different sites on different servers.

1. I had no JCE when writing a new K2 article.

2. I had no editor on the K2 extra fields when editing a previously written item.

btw. im using Joomla 1.5.23 with K2 2.4.1 and JCE 1.5.7.11

The first problem i solved by turning on gzip compression on the editor. I don't know why, but it did the job for me.

The second one was a little harder (I'm no programmer). I fixed it by changing a class in the code of K2.

in the /administrator/components/com_k2/models/extrafield.php i found somewhere around line 209-210

$output='<textarea name="K2ExtraField_'.$extraField->id.'" id="K2ExtraField_'.$extraField->id.'" rows="10" cols="40" class="k2ExtraFieldEditor">'.$active[0].'</textarea>';
$output='<textarea name="K2ExtraField_'.$extraField->id.'" id="K2ExtraField_'.$extraField->id.'" rows="10" cols="40" class="mceEditor">'.$active[0].'</textarea>';

I changed the class from K2ExtraFieldEditor to mceEditor, and i can use JCE (my default editor), but when i tried tinyMCE  i again had no editor field. So i changed the line to:

$output='<textarea name="K2ExtraField_'.$extraField->id.'" id="K2ExtraField_'.$extraField->id.'" rows="10" cols="40" class="k2ExtraFieldEditor mceEditor">'.$active[0].'</textarea>';
Now i can use both editors. When I now use JCE as a default editor of the user i see JCE, when i switch to tinyMCE i see the default k2 editor.

I haven't tested all the JCE plugins, but so far it works for me.

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #92835 by Ruth Cheesley
Replied by Ruth Cheesley on topic cannot see jce editor
Here was the response from the JCE team:

 


Here is the fix I have sent to the K2 team:

Open view.html.php in administrator/components/com_k2/views/items/view.html.php

Replace :

$js = "function initExtraFieldsEditor(){ $$('.k2ExtraFieldEditor').each(function(element) { var id = element.id; if (typeof JContentEditor != 'undefined') { if (tinyMCE.get(id)) { tinymce.EditorManager.remove(tinyMCE.get(id)); } tinyMCE.execCommand('mceAddControl', false, id); } else { new nicEditor({fullPanel: true, maxHeight: 180, iconsPath: '".JURI::root()."administrator/components/com_k2/images/system/nicEditorIcons.gif'}).panelInstance(element.getProperty('id')); } }); } function syncExtraFieldsEditor(){ $$('.k2ExtraFieldEditor').each(function(element){ editor = nicEditors.findEditor(element.getProperty('id')); if(typeof editor != 'undefined'){ editor.saveContent(); } }); } ";
 

with :

$js = "function initExtraFieldsEditor(){ $$('.k2ExtraFieldEditor').each(function(element) { if (typeof JContentEditor != 'undefined') { // wait until main editor is added tinyMCE.onAddEditor.add(function(mgr, ed) { // skip for extrafields editor if (ed.id == element.id) { return; } // wait until main editor is initialized ed.onInit.add(function() { tinyMCE.execCommand('mceAddEditor', false, element); }); }); } else { new nicEditor({fullPanel: true, maxHeight: 180, iconsPath: '".JURI::root()."administrator/components/com_k2/images/system/nicEditorIcons.gif'}).panelInstance(element.getProperty('id')); } }); } function syncExtraFieldsEditor(){ $$('.k2ExtraFieldEditor').each(function(element){ editor = nicEditors.findEditor(element.getProperty('id')); if(typeof editor != 'undefined'){ editor.saveContent(); } }); } ";
do exactly the same in components/com_k2/views/items/view.html.php

 

Ruth Cheesley
Virya Technologies

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #92836 by BBC
Replied by BBC on topic cannot see jce editor
JCE 2.0 Beta8 is out.

Have to try it.

 

With Beta7 i cannot:

 

- use extra fields. (have some text, click at Apply / Save, and nothing happens. Field is still empty. Or old text remains.)

This is a bug in K2, not JCE. Because extra fields use K2 NicEdit native editor.

 

- put videos

 

- cannot chose JCE for extra fields (mark field for "use editor" in field settings, Apply / Save, and nothing happens.

 

Will try Beta8.

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #92837 by BBC
Replied by BBC on topic cannot see jce editor
Ruth, this code doesn´t work in SVN K2. Simply because that code doesn´t exist in new SVN K2.

 

Developers of K2 have to have some serious talk with developer of JCE.

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #92838 by Ruth Cheesley
Replied by Ruth Cheesley on topic cannot see jce editor
I don't believe it is an issue on the SVN version, is it? Well, from what I've seen no editors seem to work on SVN :|

Ruth Cheesley
Virya Technologies

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #92839 by BBC
Replied by BBC on topic cannot see jce editor
Beta7 and Beta8 of JCE work in SVN K2. But with many problems.

Problems with video insert. Impossbile to use JCE for extra fields.. Etc...etc...

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum