News and WYSIWYG

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
jce76350
Beta Tester
Beta Tester
Posts: 2079
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

News and WYSIWYG

Post by jce76350 »

Hi,

In the last Svn rev 3910 and news rev 166
Using French language

1- On Content » News
If I enter a text or modify an old text I have a problem :
- the text is not corect but, it is a melting html and code
For example
original Text =
"Le choix a été très logique et très facile à effectuer. Nous avons pour ce faire suivi chacun des critères énoncés en début de dossier, et ainsi attribué des notes allant de 0 à 10 à chaque navigateur." ... La suite sur net-actuality.org

and afterSubmit the text became
"Le choix a été très logique et très facile à effectuer. Nous avons pour ce faire suivi chacun des critères énoncés en début de dossier, et ainsi attribué des notes allant de 0 à 10 à chaque navigateur." ... La suite sur net-actuality.org

I do test on FCK or Tiny same result.


2- If I update Tiny  by the button "Update"
The text :  (Settings was saved) is Ajustements sauvegardés
In the fr.FR.php $lang['settingssaved'] = 'Ajustements sauvegardés';

3- Into FCKeditorX
if I update the tab "Toolbar"
FCKConfig.ToolbarSets["Basic"] = [
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
] ;

Became

FCKConfig.ToolbarSets["Basic"] = [
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
] ;


I am on Win XP2 FR using Apache 1.33 + Php 4.1  +mysql 4.19 on local
I do test also on a web server
Apache/ProXad [Jul 17 2006 17:19:22] - PHP Version 4.4.3-dev
same problem.
Jean-Claude Etiemble MyPageFr
Milhaus

Re: News and WYSIWYG

Post by Milhaus »

The first problem seems easiest for me. You must change settings of the editor. In FCK, go to fckconfig.js and find option IncludeLatinEntities. Set it to flase and try if it is better.
In TinyMse, try to find call of editor (causes me problems all the time) and add or modify option entity_encoding to value raw.

Second problem is caused by Translation center of CMSMS. I informed developers about this problem, but it seems like more complex, than I thought :-( However I suggest one-time convert of all entities to respective characters by editor, which has such a feature. I personally use czech editor PSpad for this purpose.

Your third problem seems very strange to me. I never experienced that, so I can't help here.

Hope that helps a bit,

Milhaus
alby

Re: News and WYSIWYG

Post by alby »

jce76350 wrote: In the last Svn rev 3910 and news rev 166
.....................
There was a problem with an entity for news and search.
Current svn work well.

Alby
Post Reply

Return to “Developers Discussion”