angle brackets being escaped in CustomContent

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
sabernar

angle brackets being escaped in CustomContent

Post by sabernar »

I'm typing this into the Content for one of pages:

Code: Select all

<!--customContent: startif group=customers -->
...stuff.....
<!--customContent: else -->
...other stuff.....
<!--customContent: endif -->
The angle brackets are getting escaped so that when you view source for the rendered page, the following is displayed in the browser:

Code: Select all

<!--customContent: startif group=customers -->
...stuff.....
<!--customContent: else -->
...other stuff.....
<!--customContent: endif -->
and the source looks like:

Code: Select all

<!--customContent: startif group=customers -->
...stuff.....
<!--customContent: else -->
...other stuff.....
<!--customContent: endif -->
Why are the brackets being escaped?  Any ideas?

I have the CustomContent module tag inside the template (it breaks whether the CustomerContent is in the template or the Content box).

I'm using:

CMSMS 0.13
Frontend Users 1.0.5
Custom Content 1.4.1
SelfRegistration 1.0.3

Thanks in advance.
FinnK

Re: angle brackets being escaped in CustomContent

Post by FinnK »

If you are using FCKeditor you probably should use "Source" mode to enter those lines. You find Source in the toolbar to the left...
sabernar

Re: angle brackets being escaped in CustomContent

Post by sabernar »

Thanks, that did the trick.

Maybe I should turn off the FckEditor while working on the custom content.
FinnK

Re: angle brackets being escaped in CustomContent

Post by FinnK »

Or use a browser that doesn't support FCK editor at the same time as one that does -in another window. I use Opera for editing templates, css and content that dont need WYSIWYG. It's faster.
sanjay
Forum Members
Forum Members
Posts: 19
Joined: Fri Oct 15, 2004 7:28 am

Re: angle brackets being escaped in CustomContent

Post by sanjay »

FinnK wrote: If you are using FCKeditor you probably should use "Source" mode to enter those lines. You find Source in the toolbar to the left...
Thanks FinnK, I spend over 8 hours getting very frustrated before finding this.
Locked

Return to “CMSMS Core”