When reading page content in the back end "&" is shown in stead of "&"

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.
Locked
Art-art

When reading page content in the back end "&" is shown in stead of "&"

Post by Art-art »

Hi,

When asking for information on a page in the back-end the following information (amongst other things) is shown when WYSIWYG is turned off:

Code: Select all

{cms_module module=CustomContent}
{if $ccuser->loggedin() && $ccuser->memberof('forum_members')}
It's not about problems with the CustomeContent module. The problem is that:
I entered initially

Code: Select all

>
and it shows

Code: Select all

>
and

I entered initially

Code: Select all

&
and it shows

Code: Select all

&
When updating the page I have to replace all the "&-codes" with the original codes otherwise the update is rejected. Every time I want to edit, this is the case.

There must be a way to get rid of this. What is the solution?

Thanks, Arthur
Last edited by Art-art on Wed Oct 29, 2008 11:05 am, edited 1 time in total.
Pierre M.

Re: When reading page content in the back end "&" is shown in stead of "&"

Post by Pierre M. »

Please post at least System Info with your report. Some context is needed.

Pierre M.
alby

Re: When reading page content in the back end "&" is shown in stead of "&"

Post by alby »

Arthur wrote: I entered initially

Code: Select all

&
and it shows

Code: Select all

&
Search Tiny in forum, this was asked many many times ....

Alby
Art-art

Re: When reading page content in the back end "&" is shown in stead of "&"

Post by Art-art »

Hi Pierre,

The sysinfo I can find is:
• Server version: 5.0.32-Debian_7etch6-log
• Protocol version: 10
• MySQL charset: UTF-8 Unicode (utf8)
• MySQL connection collation: utf8_unicode_ci
• phpMyAdmin - 2.10.0.2
• MySQL client version: 5.0.51b
• CMSMS ver. 1.3.1
• Tiny MCE ver. 2.4.0

Hi Alby,

I didn't realize it might be related to TinyMCE. I searched for & and & etc. and couldn't find anything.
I checked now for Tiny and found both solutions pointing at changing settings in the Tiny MCE config as well as hinds towards the use of user defined tags containing the desired code.
Is your suggestion to the first, the last or some 3rd solution.

Both thanks, Arthur
alby

Re: When reading page content in the back end "&" is shown in stead of "&"

Post by alby »

Arthur wrote: Is your suggestion to the first, the last or some 3rd solution.
The solution is: put logic code outside content

Alby
Art-art

Re: When reading page content in the back end "&" is shown in stead of "&"

Post by Art-art »

alby wrote: The solution is: put logic code outside content
OK, I will try this. Thanks, Alby. I'll let you know if I managed to solve it like this.

Arthur
bgro

Re: When reading page content in the back end "&" is shown in stead of "&"

Post by bgro »

Turn WSYIWYG off and then re-enter these characters.  Once wysiwyg is turned back on it will change it back to the character entity again.  Everytime you save or update the page, make sure wysiwyg is off and the logic characters are how they should be.
Pierre M.

Re: When reading page content in the back end "&" is shown in stead of "&"

Post by Pierre M. »

Arthur wrote: CMSMS ver. 1.3.1
Arthur, you are running an old, buguy, unsupported version...

Pierre M.
Art-art

Re: When reading page content in the back end "&" is shown in stead of "&"

Post by Art-art »

Hi Pierre,

I know. Up till now I didn't manage to upgrade due to the SAFEMODE restrictions of 1.4.
I'm working on that as well....
alby

Re: When reading page content in the back end "&" is shown in stead of "&"

Post by alby »

Arthur wrote: I know. Up till now I didn't manage to upgrade due to the SAFEMODE restrictions of 1.4.
Not exist difference between 1.3.X and 1.4.X for safe mode
There are more checks in 1.4.X but in install only

Alby
Art-art

Re: When reading page content in the back end "&" is shown in stead of "&"

Post by Art-art »

Hi Alby,

I know I can bypass this during installation but was warned that it might cause other problems.
I'm trying to get my provider to diable SAFEMODE.
Do you think I'd better move 1.4.1 anyway?
alby

Re: When reading page content in the back end "&" is shown in stead of "&"

Post by alby »

Arthur wrote: Do you think I'd better move 1.4.1 anyway?
Sure, no differences from 1.3

Alby
Art-art

Re: When reading page content in the back end "&" is shown in stead of "&"

Post by Art-art »

OK, thanks. That's something for the upcoming weekend...
Locked

Return to “CMSMS Core”