mojo 2.3.7.5 tinyMce347

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
12/2/2011 4:35:33 AM
Gravatar
Total Posts 88

mojo 2.3.7.5 tinyMce347

Hi

I have updated to mojo 2.3.7.5 and changed the web.config to update tinyMCE347 but when i go to change content the toolbar to edit content doesn't appear?

With firebug i found this error:

tinymce is not defined.

searching in the javascript code i found this property:

"spellchecker_rpc_url:"http://localhost/mojoPortal.Web/TinyMCEHandler.ashx?rp=spellchecker",

and when i check this url on my browser there's an asp.Net error:

on TinyMce/utils/json.cs on ParseRPC function:

JSONRpcCall call = new JSONRpcCall();
object obj = ParseJSON(reader);
Hashtable jsonRpc = (Hashtable)obj;  // are null i dont know why and the error is here. If i add the code if(jsonRpc !=null) the tinyMce toolbar appears and works fine.

any solution?

thanks

12/2/2011 6:55:41 AM
Gravatar
Total Posts 18439

Re: mojo 2.3.7.5 tinyMce347

Hi,

I can produce an error by following that url too but it does not break the editor. The reason it has an error is because additional paramters are expected and would be passed in by the editor to do spellchecking. Thats is just the base url configured on the editor, but the editor passes in more query string params when it uses that url.

Nothing about that code has changed in this version or in any version in a long time.

The error:

tinymce is not defined.

is a javscript error that sounds more like the TinyMCE script is not loaded correctly.

I recommend use the Web.config file that shipped with mojoPortal, don't just try to update yours, you might have missed other things.

Your url also looks problematic:

http://localhost/mojoPortal.Web/

I do not recommend using a . in the folder name that can cause problems, please try changing the folder name where you are running mojoPortal to not have a dot.

Hope that helps,

Joe

12/2/2011 8:51:21 AM
Gravatar
Total Posts 88

Re: mojo 2.3.7.5 tinyMce347

hi,

Ok joe i will merge my web.config and try to find this problem.

this is an development url solution.

until now i dont have problems with that but i will change.

thanks again.

You must sign in to post in the forums. This thread is closed to new posts.