- Posts: 11
COMMUNITY FORUM
cannot see jce editor
- Mario Notaro
-
Topic Author
- Offline
- New Member
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.
- Simon Wells
-
- Offline
- Platinum Member
- Posts: 955
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
-
Topic Author
- Offline
- New Member
- Posts: 11
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.
- fashion
-
- Offline
- New Member
- Posts: 2
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.
- Matthew Turk
-
- Offline
- New Member
- Posts: 3
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
-
- Offline
- New Member
- Posts: 11
has any one solved this yet!.
Please Log in or Create an account to join the conversation.
- fashion
-
- Offline
- New Member
- Posts: 2
Please Log in or Create an account to join the conversation.
- Opulent Projects Ltd
-
- Offline
- New Member
- Posts: 11
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.
- HJM Cortooms
-
- Offline
- Junior Member
- Posts: 22
It's working fine in IE8.
Please Log in or Create an account to join the conversation.
- Ruth Cheesley
-
- Offline
- Senior Member
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.
- Matthew Turk
-
- Offline
- New Member
- Posts: 3
Please Log in or Create an account to join the conversation.
- Opulent Projects Ltd
-
- Offline
- New Member
- Posts: 11
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.
- Bryan Smith
-
- Offline
- Premium Member
- Posts: 130
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.
- Ron Eli
-
- Offline
- New Member
- Posts: 4
Please Log in or Create an account to join the conversation.
- Pepijn Baart
-
- Offline
- New Member
- Posts: 2
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.
- Ruth Cheesley
-
- Offline
- Senior Member
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.
- BBC
-
- Offline
- Platinum Member
- Posts: 663
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.
- BBC
-
- Offline
- Platinum Member
- Posts: 663
Developers of K2 have to have some serious talk with developer of JCE.
Please Log in or Create an account to join the conversation.
- Ruth Cheesley
-
- Offline
- Senior Member
Ruth Cheesley
Virya Technologies
Please Log in or Create an account to join the conversation.
- BBC
-
- Offline
- Platinum Member
- Posts: 663
Problems with video insert. Impossbile to use JCE for extra fields.. Etc...etc...
Please Log in or Create an account to join the conversation.