Page 1 of 1

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

Posted: Wed Oct 29, 2008 7:55 am
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

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

Posted: Wed Oct 29, 2008 8:46 pm
by Pierre M.
Please post at least System Info with your report. Some context is needed.

Pierre M.

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

Posted: Wed Oct 29, 2008 9:02 pm
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

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

Posted: Wed Oct 29, 2008 10:20 pm
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

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

Posted: Wed Oct 29, 2008 10:27 pm
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

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

Posted: Wed Oct 29, 2008 10:41 pm
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

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

Posted: Thu Oct 30, 2008 4:58 pm
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.

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

Posted: Thu Oct 30, 2008 8:00 pm
by Pierre M.
Arthur wrote: CMSMS ver. 1.3.1
Arthur, you are running an old, buguy, unsupported version...

Pierre M.

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

Posted: Thu Oct 30, 2008 8:15 pm
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....

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

Posted: Thu Oct 30, 2008 9:03 pm
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

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

Posted: Thu Oct 30, 2008 9:21 pm
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?

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

Posted: Thu Oct 30, 2008 10:57 pm
by alby
Arthur wrote: Do you think I'd better move 1.4.1 anyway?
Sure, no differences from 1.3

Alby

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

Posted: Fri Oct 31, 2008 10:23 am
by Art-art
OK, thanks. That's something for the upcoming weekend...