FrontendUser / TinyMCEAdv changes && to &&

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.
Post Reply
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

FrontendUser / TinyMCEAdv changes && to &&

Post by giggler »

I keep having this problem when I submit the code. If i type in the code without wysiwyg then it's fine when I hit apply. Then hit submit and it gives a smarty error

Code: Select all

{if $ccuser->loggedin() && $ccuser->memberof('members') && $ccuser->ipmatches('192.168.0.0/24')}
Welcome logged in local member
{elseif $ccuser->loggedin() && $ccuser->memberof('active')}
Welcome logged in member
{elseif $ccuser->loggedin()}
{cms_module module='FEUPayPal' action='default'}
{else}
Anonymous user
{/if}
Last edited by giggler on Tue Jan 15, 2008 7:44 pm, edited 1 time in total.
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: FrontendUser / TinyMCEAdv changes && to &&

Post by hexdj »

I have the same issue
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Re: FrontendUser / TinyMCEAdv changes && to &&

Post by giggler »

I've changed it to use this method and make sure you paste it in the popup (click on html icon) and not into the content box directly...this seem to be working since it doesn't have the && anyway:

Code: Select all

{if $customcontent_loggedin}
Welcome <b>{$customcontent_loginname}</b><br />
{cms_module module='FormBuilder' form='formname'}
{else}
<h1>You are not authorized to view this data</h1>
{/if}
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: FrontendUser / TinyMCEAdv changes && to &&

Post by hexdj »

Yeah I've the disable wysiwig checkbox show under every instance of TinyMCE, it comes in very handy. I can apply and submit the new contents and everything, but when I go back the > replaces the greater than sign. What's strange is that I do want &nsbp; in one of my lines, but that gets replaced by a single space.

Thanks for posting your method, I will try it out now.
Post Reply

Return to “CMSMS Core”