Page 1 of 1

angle brackets being escaped in CustomContent

Posted: Sun Jun 04, 2006 11:11 pm
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.

Re: angle brackets being escaped in CustomContent

Posted: Sun Jun 04, 2006 11:39 pm
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...

Re: angle brackets being escaped in CustomContent

Posted: Sun Jun 04, 2006 11:44 pm
by sabernar
Thanks, that did the trick.

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

Re: angle brackets being escaped in CustomContent

Posted: Mon Jun 05, 2006 12:13 am
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.

Re: angle brackets being escaped in CustomContent

Posted: Tue Jun 20, 2006 8:33 pm
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.