{cms_module module=CustomContent} {cms_module module="Uploads" category="MyCategory" mode="summary"}You are not allowed!
Default Content?!?
Default Content?!?
I'm creating a site page where every page is restricted by custom content. Can I make a default content for every page I will create for now on like this:
Re: Default Content?!?
Yes,
under
"Site Admin -> Page defaults -> Content"
Ronny
under
"Site Admin -> Page defaults -> Content"
Ronny
Re: Default Content?!?
IMHO:jmansa wrote: I'm creating a site page where every page is restricted by custom content. Can I make a default content for every page I will create for now on like this:{cms_module module=CustomContent} {cms_module module="Uploads" category="MyCategory" mode="summary"}You are not allowed!
- use this logic in template and not in content
- don't use comment tag (it's deprecated, read help of CC)
Alby
Re: Default Content?!?
if the entire site is that way; why couldn't you put it right in the template?
{if $customcontent_loggedin}
{content}
{else}
{global_content name='notloggedin'}
{/if}
{if $customcontent_loggedin}
{content}
{else}
{global_content name='notloggedin'}
{/if}
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info