I did post it in the german forum without an answer until now.
CMSMS 1.1 has a problem to show special chars in the frontend.
If you go to the detail (testet Module Calendar 0.7.8 and News 2.3 - language german) and you have the back-button-text (in german "Zurück" in the language file Zurück) it will shown in the frontend as: Zurück , because CMSMS changes the code of & into &.
The same happens in the Calendar module with the moretext-link => moretext=">" is shown in frontend as << INFO >> because of changing the < to <. In the Database its correct with >. So CMSMS changes the code before displaying it in the frontend.
All templates are UTF-8.
It's a problem of CMSMS 1.1 and was tested on different servers with standard installation of CMSMS.
Hope someone can help.
Frank
BUG?? CMSMS 1.1 => special chars problem with calendar and news module
-
- Forum Members
- Posts: 15
- Joined: Tue Feb 20, 2007 3:44 pm
Re: BUG?? CMSMS 1.1 => special chars problem with calendar and news module
Hi Frank,
I got the same problem with my installation.
The reason is, that some developers seem to be a bit over-zelous when applying the "cms_htmlentities" function. As I understand it, this function should not be used for output text coming from the language-files.
When it is done, alle &something; are changed into &something; which ruins any page display.
I have an 1.1 installation due to go into production this weekend, so I will dive into the News-module code to find the culprit.
Stay tuned..
+peter+
I got the same problem with my installation.
The reason is, that some developers seem to be a bit over-zelous when applying the "cms_htmlentities" function. As I understand it, this function should not be used for output text coming from the language-files.
When it is done, alle &something; are changed into &something; which ruins any page display.
I have an 1.1 installation due to go into production this weekend, so I will dive into the News-module code to find the culprit.
Stay tuned..
+peter+
-
- Forum Members
- Posts: 15
- Joined: Tue Feb 20, 2007 3:44 pm
Re: BUG?? CMSMS 1.1 => special chars problem with calendar and news module
Found the culprit:
file: /lib/classes/module_support/modform.inc.php
line: 516 in function cms_module_CreateReturnLink
comment out
$contents = cms_htmlentities($contents);
and all is well.
It would bei fine, if this could find it's way in the official realease. Somehow.
Best wishes
+peter+
file: /lib/classes/module_support/modform.inc.php
line: 516 in function cms_module_CreateReturnLink
comment out
$contents = cms_htmlentities($contents);
and all is well.
It would bei fine, if this could find it's way in the official realease. Somehow.
Best wishes
+peter+
Re: BUG?? CMSMS 1.1 => special chars problem with calendar and news module
Dear Peter,
thank you for this solution.
So one part of the problem is solved.
There is only a need for the calendar-module - moretext-link. In the meanwhile i will use a text without special chars
Frank
thank you for this solution.
So one part of the problem is solved.
There is only a need for the calendar-module - moretext-link. In the meanwhile i will use a text without special chars

Frank
Re: BUG?? CMSMS 1.1 => special chars problem with calendar and news module
Thank u very much. That works for me too 
