fckeditor Templates Localization

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.
11/22/2011 4:59:10 AM
Gravatar
Total Posts 88

fckeditor Templates Localization

Hi,

There´s a way to set the current site language on templates of html editors like fckeditor or ckEditor?

thanks

11/22/2011 11:46:01 AM
Gravatar
Total Posts 18439

Re: fckeditor Templates Localization

The toolbars should automatically adapt to the user browser language preference, unless you force a specific culture in which case it will adapt to that culture.

If you're talking about content templates, they don't adapt but you can create your own in any language and leave out the ones we include.

I don't recommend FCKeditor it is no longer maintained and it has some problems in some newer browsers, I would use either CKeditor or TinyMCE.

Hope that helps,

Joe

11/23/2011 3:23:26 AM
Gravatar
Total Posts 88

Re: fckeditor Templates Localization

ok Joe,

I'm talking about content Templates.

I´ve changed the editor CKEditor but when i go to edit the html content doesn't appear the toolbox bar to edit content.

i tried ckEditor, tinyMCE and textArea and the only that shows the toolbar are FCKEditor.

the log doesn´t show anything.

 

11/23/2011 6:24:04 AM
Gravatar
Total Posts 18439

Re: fckeditor Templates Localization

The problem is caused by quotes in the template which causes a problem serializing the template to json. See the notes about "CKeditor Known Issue" on the Content Templates document. The reason it works ok inn FCKeditor is because there xml is used instead of json so there are less problems with encoding the html.

Hope that helps,

Joe

11/24/2011 3:27:42 AM
Gravatar
Total Posts 88

Re: fckeditor Templates Localization

hi,

I´ve removed all the templates but the toolbars doesn´t appear. Only appears for FCKEditor.

I change this configuration on site Configurations for "Content Editor" and "Newsletter Editor" and in this features the toolbars doesn´t appears only appear for CKEditor.

I found this issue on web.config the key <add key="CKEditor:BasePath" value="~/ClientScript/ckeditor361/" /> but in files system on clientScript i only have ckeditor362. change this key and toolbar for CKEditor will appear.

the same issue occurs for tinyMCE

<add key="TinyMCE:BasePath" value="~/ClientScript/tiny_mce3432/" /> and file system was tiny_mce3445.

I don't know if this was a problem when i get the last version or if somebody forget to update this keys

thanks Joe again...

11/24/2011 6:03:19 AM
Gravatar
Total Posts 18439

Re: fckeditor Templates Localization

Those settings are always correct in the web.config file that ships with mojoPortal. Whenever I upgrade the editors I always change those setings to match so if you use the correct web.config for the version of mojoPortal and you install all the files included with mojoPortal it should be correct.

mojoPortal 2.3.7.0 shipped with CKeditor 3.6.2 and Tiny MCE 3.4.5 and it was listed correctly in Web.config so it sounds like you kept your old Web.config

Still when a site is upgraded there is nothing that deletes older versions of the editors so if the old files are still on disk you could still use an older version of the editor.

Hope that helps,

Joe

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