code stripped on saving page

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
DonnaNJ
Forum Members
Forum Members
Posts: 40
Joined: Mon Nov 19, 2007 6:08 pm

code stripped on saving page

Post 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
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: code stripped on saving page

Post by Nullig »

Don't let them use TinyMCE to edit the pages.

Nullig
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: code stripped on saving page

Post 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}
Locked

Return to “[locked] Installation, Setup and Upgrade”