TinyMCE modify this code:
{if $ccuser->loggedin() && ($ccuser->memberof('medlem, bestyrelse'))}
Du har nu adgang til indholdet på denne side.
{else}
Du skal være logget ind.{/if}
For this:
{if $ccuser->loggedin() && ($ccuser->memberof('medlem, bestyrelse'))}
Du har nu adgang til indholdet på denne side.
{else}
Du skal være logget ind.{/if}
I know how to fix this.
In the help for CustomContent I am told that it could be placed in my template.
How do I do this.
Regards
Soren
[Solved]TinyMCE changing code in the Custom Content
[Solved]TinyMCE changing code in the Custom Content
Last edited by soren on Thu Dec 03, 2009 7:34 am, edited 1 time in total.
Re: TinyMCE changing code in the Custom Content
Hi soren,
You will find the template at the admin:
Layout >> Templates
Put the CC code around the {content} tag in your used template:
Don't forget to change the Print-template at
Extentions >> Printing
Good read:
http://calguy1000.com/uploads/1/Hiding_ ... e-pdf.html
Regards, Rolf
You will find the template at the admin:
Layout >> Templates
Put the CC code around the {content} tag in your used template:
Code: Select all
{if $ccuser->loggedin() && ($ccuser->memberof('medlem, bestyrelse'))}
{content}<br />
{else}
<p>Du skal være logget ind.</p>
{/if}
Extentions >> Printing
Good read:
http://calguy1000.com/uploads/1/Hiding_ ... e-pdf.html
Regards, Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: TinyMCE changing code in the Custom Content
Rolf
Thank you.
Regards
Søren
Thank you.
Regards
Søren