Mambo forums
Forum Home Register Forum Rules FAQ Search Today's Posts Mark Forums Read

Go Back   Mambo CMS Forum > Mambo 4.6 Releases > FAQs
 

Troubleshooting the WYSIWYG editor

This is a discussion on Troubleshooting the WYSIWYG editor within the FAQs forums for Mambo.

Closed Thread
 
Thread Tools
Old 12-01-2007, 03:45 AM   #1
Elpie
Mambo Guru
Forum Admin
 
Elpie's Avatar
 
Join Date: Jul 2006
Location: New Zealand
Posts: 10,001
Troubleshooting the WYSIWYG editor

If you are having problems using a WYSIWYG editor with your Mambo site, these tips may help....
  • Make sure your Mambo is installed correctly before adding components. Editors are components.
  • The recommended editor for Mambo is MOStlyCE. We know it works well with Mambo but we cannot be certain if other editors have been updated for the version of Mambo you are using.
  • Make sure mostlyce_config.php is writeable.
    NOTE: the path for this is /mambots/editors/mostlyce/jscripts/tiny_mce
  • Check that your editor has been published - you can see this by checking in your components manager.
  • Make sure you have selected the editor in your site's configuration. configuration.php must be writeable or you will get a message saying it is not (if it is not, then changes will not be saved!)
  • If the CSS styles feature is not working in your editor, check your MOStlyCE configuration settings. If "Override Template CSS" is set to "YES", change this to "NO". (Or the other way around, depending on how you have configured MOStlyCE for your site).
  • Clear your browser and your site cache. If all else fails, try switching the editor to simple mode. You can change back to advanced mode if the change to simple mode works (sometimes site or browser caching stops changes to the editor configuration from being seen). To change between simple mode and advanced mode, go to MostlyCE Admin (you will find this under "components").
  • Adding code that the editor changes? Any code you add should be entered into the editor in code view. Occasionally, the code you are trying to add conflicts with the editor settings - if this happens, just go to your site's configuration, change the editor to "no WYSIWYG editor", save. Then go back to your content item, add your code, and save. Once your code is entered and saved correctly, you can re-enable the WYSIWYG editor in your site configuration.
  • On some servers, you may get conflicts with domain aliasing. If this happens, make sure you are accessing your administrator backend with the same URL you have set in the $mosConfig_live_site variable in configuration.php. Depending on your server setup, you may need to add the www subdomain to your $mosConfig_live_site variable.If all else fails, search the forums to see if anyone else has reported the same problem.
  • On some servers the TinyMCE engine, which forms part of MOStlyCE, has issues with javascript compression. At this time, MOStlyCE has javascript compression ON by default. If you are experiencing problems with some javascript buttons (such as "save", "new" etc) not working correctly try disabling compression through your MOStlyCE configuration settings. Javascript compression can also lead to problems in some browsers (particularly Internet Explorer and Opera) and the solution is the same - turn off compression in your MOStlyCE configuration.

Working with images:
To utilize the Image/File Manager in MOStlyCE (2.0+) you must install the MOStlyCE Admin component and follow the setup instructions found under Component->MOStlyCE Admin->Image Mgr tab.

If you still cannot get your editor working, please post in the WYSIWYG Editor forums (http://forum.mambo-foundation.org/forumdisplay.php?f=176), making sure you let us know which version of Mambo you are using and which editor (and version) you are experiencing problems with.

Last edited by Elpie; 11-07-2008 at 04:53 AM. Reason: added note about javascript compression
Elpie is offline  
Old 06-02-2007, 10:37 PM   #2
cauld
Mambo Guru
 
cauld's Avatar
 
Join Date: May 2006
Location: California, USA
Posts: 2,976
Steps to Upgrade MOStlyCE

The normal process to following when performing an upgrade:

1) Do your backups
2) Uninstall the MOStlyCE Admin component
3) Uninstall the MOStlyCE mambot
4) Install the new MOStlyCE mambot
5) Install the new MOStlyCE component
6) Go to Site->Global Configuration. Change the WYSIWYG Editor drop down to "No WYSIWYG Editor", hit apply, and then change it back to MOStlyCE and hit Save. This is needed to trigger the change otherwise you may simply see a blank text area where the editor use to be.
7) Clear your browsers cache
8) Pull up a content item in the editor, click on the editors help icon (the question mark button), and verify that you have the same version of TinyMCE stated in the MOStlyCE release notes. Each new version of MOStlyCE tries to contain the latest version of TinyMCE available at the time.

Hope that helps

Last edited by cauld; 19-09-2007 at 10:59 AM.
cauld is offline  
Old 06-04-2007, 12:16 PM   #3
cauld
Mambo Guru
 
cauld's Avatar
 
Join Date: May 2006
Location: California, USA
Posts: 2,976
Adding to Elpie's list...

To utilize the Image/File Manager in MOStlyCE (2.0+) you must install the MOStlyCE Admin component and follow the setup instructions found under Component->MOStlyCE Admin->Image Mgr tab.
cauld is offline  
Old 18-03-2008, 02:40 PM   #4
Elpie
Mambo Guru
Forum Admin
 
Elpie's Avatar
 
Join Date: Jul 2006
Location: New Zealand
Posts: 10,001
Upgrading to MOStlyCE 3

Due to MOStlyCE 3 being a major release, it is important to carefully follow the following steps to ensure your upgrade goes smoothly.

While we refer to a change from MOStlyCE 2.x to MOStlyCE 3 as an upgrade, it requires you to completely remove your old version of MOStlyCE before installing the latest version. This is not an upgrade that just overwrites files!

MOStlyCE 3 is an important upgrade as it fixes some serious security issues. Version 2.x of MOStlyCE is now deprecated and version 3 is now recommended for all Mambo 4.6+ users. We encourage you to upgrade to take advantage of the latest developments and increased security.
(See the announcement here: http://forum.mambo-foundation.org/sh...ad.php?t=10157)

The basic steps to change to MOStlyCE 3 are as follows:
1) backup your site
2) uninstall the MOStlyCE Admin component
3) uninstall the MOStlyCE mambot
4) open your file manager and make sure the following files and directories are not present and if the are then remove them manually:
  • administrator/components/com_mostlyce
  • mambots/editors/mostlyce
  • mambots/editors/mostlyce.xml
  • mambots/editors/mostlyce.php
  • components/com_mostlyce_frontend
Once those have been removed proceed with the v3 install. If you uninstalled MOStlyCE and those still live on then you are likely to experience file permissions issues (for eg. the owner of the files is not the same as the user Mambo is using to try and install the new files (i.e.) johnsmith cannot remove or overwrite files owned by nobody, apache, etc.)

After installing v3 of MOStlyCE load up the editor and click on the blue help (question mark) button on the editor to confirm what version it is loading. If it doesn't say v3.x and instead says 2.x then the installation was not successful. As always make sure to clear your cache too.

More information can be found on our docs site here: http://docs.mambo-foundation.org/en/...ry&EntryID=116

MOStlyCE can be downloaded from its project page on the forge: http://mambo-code.org/gf/project/mostlyce/
__________________
Mambo Tutorials on:http://lynnepope.net/topics/mambo-tutorials
Mambo wiki: http://mambo-manual.org/
Follow me: http://twitter.com/elpie

Last edited by Elpie; 20-03-2008 at 12:46 AM.
Elpie is offline  
Closed Thread

Bookmarks

Tags
editor problems, mostlyce, troubleshooting, wysiwyg

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:08 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Mambo Foundation, Inc © 2000 - 2008 All rights reserved. Mambo is Free Software released under the GNU/GPL License.

Managed Servers by DedicatedNOW