Page 1 of 1

code stripped on saving page

Posted: Thu Mar 04, 2010 3:27 pm
by DonnaNJ
I have CMS:MS set up with a member area.

It all works fine...until client goes to edit pages.

I have this on top for the member-check

{if !$ccuser->loggedin()}{redirect_page page='login'} {else} Welcome
{$customcontent_loginname}

Future Site of Meeting Minutes

Add stuff here

{/if}

which works here

http://www.kofc7677.org/members/index.p ... st-meeting

Anyway= when client edits...and saves... the -> gets saved as &gt and the whole thing
breaks.

Is there some thing I should be doing to prevent this?

thanks

DonnaNJ

Re: code stripped on saving page

Posted: Thu Mar 04, 2010 5:51 pm
by Nullig
Don't let them use TinyMCE to edit the pages.

Nullig

Re: code stripped on saving page

Posted: Thu Mar 04, 2010 6:30 pm
by jmcgin51
Nullig wrote: Don't let them use TinyMCE to edit the pages.

Nullig
or put the CustomContent code in a page template instead of in the page itself.

Also, the CC syntax you're using is deprecated and should be replaced by the more current syntax: {$ccuser->username}