Page 1 of 1

Code Clean-Up Problem with TinyMCE WYSIWYG in the 1.3.1

Posted: Fri Jul 04, 2008 6:43 pm
by cflbot
After  a fresh install of CMS Made Simple 1.3.1 "Havana" I added an "" via an HTML Editor Window and it is stripped it away by the time in returns to main window.

I mean it does not save codes inserted in to html editor.

My Current Configuration:

CMS Made Simple 1.3.1 "Havana" with TinyMCE WYSIWYG Help/About Version: 3.0.8(2008-04-30) (after uninstall of version that came with release and adding it back through module manager, seems strange becuase the module manager says TinyMCE 2.4.1)

My Previous Status:
All my CMS Made Simple 1.2.4 "Greenland" and previous Sites work fine, currently.
TinyMCE WYSIWYG Basic, Help/About 2.1.2

First Test Fix:
Uninstalled and renamed module folder from "TinyMCE" to "TinyMCE1" and reinstalled. No change.

Final Test Fix:
Replaced the tinyconfig.php which contains multiple instances of "valid_elements :" including the "+"iframe[align<bottom?left?middle?right?top|class|frameborder|height|id"" from the previous release, that works on other sites on this server. Worked.

Problems with that Fix:
Is it safe will something else not work.

Known Variables:
Not a problem with Server. It works when configured to work with the same files except the "tinyconfig.php"

Not a problem with PHP. It works when configured to work with the same files except the "tinyconfig.php"

It shoild not be a problem with install, if it is it is just one file, "tinyconfig.php".

I just need to know if it is safe to use older "tinyconfig.php", as mentioned there is a lot of other lines of code that could have something to do with security.

I Guess my problem is I can not find reference to "valid_elements" in the new version at least not there in the "tinyconfig.php" file.

If I am just missing it can someone tell me step by step how to edit "valid_elements" in the current "tinyconfig.php" or TinyMCE?

I have tried the global content box and turning off the WYSIWYG and it works but not well for sizing to template, however, when you save you may never click on the block again because the WYSIWYG re-enables itself and deletes the code.

Finally, this is the only way I know to use CMSMS and show content, from another site. I use it to show IDX results for Real Estate Sites and I use it to skin the ugly zencart and open realty.

Re: Code Clean-Up Problem with TinyMCE WYSIWYG in the 1.3.1

Posted: Sat Jul 05, 2008 8:13 am
by cyberman
cflbot wrote: CMS Made Simple 1.3.1 "Havana" with TinyMCE WYSIWYG Help/About Version: 3.0.8(2008-04-30) (after uninstall of version that came with release and adding it back through module manager, seems strange becuase the module manager says TinyMCE 2.4.1)
TinyMCE Version 3.0.8 = Javascript Content Editor http://tinymce.moxiecode.com/
CMSms module TinyMCE 2.4.1 = Module that makes TinyMCE useable for CMSms

(CMSms 1.2.4 uses TinyMCE 2.x series - there are a lot of changes inside)

Re: Code Clean-Up Problem with TinyMCE WYSIWYG in the 1.3.1

Posted: Sun Jul 06, 2008 5:42 am
by Dr.CSS
Have tried just adding into the template, maybe make a new/copied template for the iframe stuff, have you tried using the embed tag?...