Hello, I’m eager to get the LG TinyMCE extension to work on my Expression Engine site but I’m having a challenging time getting it to appear within the Edit window.
I seem to get through all the installations steps fine but when I go to edit any entry TinyMCE does not appear. It looks just like it did before I installed the extension.
I followed all directions for installation of both the extension and TinyMCE from Moxie. I see LG TinyMCE (v.1.3.2) within the extensions manager and I’ve enabled it.
Within Settings for it, I’ve used the default path which is where I placed the files /scripts/tinymce/jscripts/tiny_mce/tiny_mce.js
Under Weblog Admin > Custom Weblog Fields > Default field Group > Add/Edit Custom Fields…I’ve gone into the “body” field and changed Field Group to WYSIWYG.
The only odd thing is that when I do that, for “Default Text Formatting for This Field” I am not able to change the dropdown to “None” because as soon as I changed the Field Type to WYSIWYG, the dropdown disappears and is replaced by a red line of text saying “Text formatting is not available for your chosen field type”.
I’m not sure if this is incorrect but it is the only step I’m not able to accomplish for this install.
Does anyone know what might be the issue?
I just tried doing a completely fresh install of EE 1.6.6 and a fresh install of the LG TinyMCE 1.3.2 extension plus TinyMCE 3.2.1.1 and I’m getting the same results.
For some odd reason the functionality is not appearing within the “body” field of any edit screen yet that one field has the WYSIWYG applied to it.
Is there some other setting that I’m missing?
Here’s a screenshot of my “EditField” screen…
Hm, thanks for trying that. I haven’t been able to get around to doing an upgrade yet myself.
I’m horrible at troubleshooting JS issues but sounds like some sort of conflict. You might have to contact LG for this. If you disable the extension the problem will go away. Personally, I think I’m just going to eject the extension for this particular project.
Hi Leevi, thanks for replying. I went into the edit screen and I’ve copied into this email a small chunk of the source code that you are referring to…
[size=1][removed][removed]
[removed]
//<![CDATA[
tinyMCE_GZ.init({/*
Basic Configuration
My Favs - Simple but effective
*/
plugins: 'safari,pagebreak,style,inlinepopups,media,contextmenu,paste,fullscreen,nonbreaking,xhtmlxtras',
/*
Advanced Configuration
All Plugins
*/
# plugins : 'safari,pagebreak,style,layer,table,save,advhr,advimage,'
+ 'advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,'
+ 'searchreplace,print,contextmenu,paste,directionality,fullscreen,'
+ 'noneditable,visualchars,nonbreaking,xhtmlxtras,template',
themes : 'advanced',
languages : 'en',
disk_cache : true,
debug : false});
//]]>
[removed]
[removed]
//<![CDATA[
tinyMCE.init({// General
button_tile_map : true,
editor_selector : 'lg_mceEditor',
mode:'textareas',
theme : 'advanced',
// Cleanup/Output
apply_source_formatting : true,
convert_fonts_to_spans : true,
convert_newlines_to_brs : false,
fix_list_elements : true,
fix_table_elements : true,
fix_nesting : true,
forced_root_block : 'p',[/size]
It looks like it is being referred to but it still is not appearing within the interface.
Any thoughts?
FWIW, this is happening to me as well. I’ve got a fairly fresh install of EE 1.6.6, and I just installed LG TinyMCE 1.3.2 and TinyMCE 3.2.1.1. I’ve set up a custom field of “WYSIWYG” type, similar to Daron’s screenshot, but when I go to the actual “Publish” form, I just get a standard textarea with none of the TinyMCE controls.
I’ve tried it in Firefox 3 and Safari 3, to no avail.
The other TinyMCE extension authored by Paul Burdick did work instantly for me.
Unfortunately it doesn’t seem to have all the other features that Leevi’s has like the ability to use the Compressor, targeting specific fields within the edit window…and I believe a hook into Moxie’s MCImageManager….so I wish I could get the LG TinyMCE Custom field extension to work.
Does anyone else have any ideas for resolving this…or ideas for how to get some of these other features to work with TinyMCE?
Are you guys using mod_rewrite?
If so it will be because you haven’t added the exclusion to the .htaccess file
Add the name of the folder tinymce is in i.e. scripts
RewriteEngine on
RewriteCond $1 !^(images|scripts|js|system|themes|index\.php|admin\.php) [NC]
RewriteRule ^(.*)$ index.php/$1 [L]
it took me a while to find it
Dave
I just had this problem and managed to fix it. I believe that the problem is something to do with caching of the TinyMCE script. I know from working with TinyMCE within my own CMS it was caching its config settings somewhere.
Try clearing your cache and loading the publish screen again.
I’m new to EE so I might be wrong on this but as soon as I did that the TinyMCE editor loaded as it should.
Now I’ve got a problem with the image manager though :(
Has anyone figured this out? I’m having the same problem. Uploaded the extensions, languages, TinyMCE scripts, changed the field type to WYSIWYG, and I go back to my publish page and it just shows up as a plain text area.
Been trying to get it to work for almost 2 hours now. I uploaded the TinyMCE First Party Extension from Paul Burdick and it works right off the bat.
I’m using: EE v1.6.7 LG_TinyMCE 1.3.3
I’ve cleared my Control Panel Cache multiple times and nothing ever changes.
When I view the source code on the publish page, the text area I applied WYSIWYG to is getting a class of ‘lg_mceEditor’. I assume that’s correct, so I’m really not sure why the TinyMCE controls are not showing up? The only thing I can think of is an inproper path to the tiny_mce.js file.
On the initial install it shows “/scripts/tinymce/jscripts/tiny_mce/tiny_mce.js”. Does that start on the root directory of your site as it shows in the general configuration settings? (ie: http://localhost/folder/)
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.