Page 1 of 1

New cmsms version 1.6.x and changes of additional characters by editors

Posted: Sat Nov 07, 2009 6:37 am
by map_1961
Hi Team.

From Version 1.6.x we notice that additional character like ">, used in cms internal links (more>) into (more...) . Might take some time in large pages.

But if we set some FEUser code in a global content block (using something like ...
{if $ccuser->loggedin() && $ccuser->memberof('yourgroup')}..
..it appears that code is changed by the editor and site crashes.

So we have to switch of the editor in settings before editing. But users that have access to gcbs and don't know to much about sorce code can cause a big problem.
We have a site running stil on 1.5.4 where this effect doen't appear.

Thanks from Gremany

map_1961

Re: New cmsms version 1.6.x and changes of additional characters by editors

Posted: Sat Nov 07, 2009 6:47 am
by RonnyK
WYSIWYGs are not good for logic. When you use the GCB for FEU/CC logic, you'd better dont use the WYSIWYG on that logic. As & = escaped to be valid by a wysiwyg. You could either set you UserPreferences to NOT use WYSIWYG on GCB, or even better in GlobalSettings, to have no-one use WYSIWYG on GCB. Otherwise people can still open a GCB and on submit have the logic-characters escaped by wysiwyg..

Ronny