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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
map_1961
Power Poster
Power Poster
Posts: 407
Joined: Fri Apr 20, 2007 7:26 pm

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

Post 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
Last edited by map_1961 on Sat Nov 07, 2009 6:50 am, edited 1 time in total.
map_1961
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post 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
Post Reply

Return to “CMSMS Core”