[SOLVED] How to allow main content to be empty

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
piar
Forum Members
Forum Members
Posts: 10
Joined: Fri Feb 27, 2009 5:30 pm

[SOLVED] How to allow main content to be empty

Post by piar »

Hi!

I've created a template with multiple content blocks. And I don't want to use there that default {content}. It is very easy to achieve - I just don't use that tag on my template. But when I create/edit a page and fill a content of all my content blocks cmsms enforce to put something also to that default content - without putting there something I can't save a page.

What should I do to disable that check or (what would be even better) to have on page create/edit form just textareas for that blocks that are defined on my template (so without a textarea for default content)?

Best regards,
Last edited by piar on Sat Feb 28, 2009 11:53 am, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: How to allow main content to be empty

Post by RonnyK »

You can use the PageDefaults that is under SiteAdmin. Comment in there will be pulled in {content} but it will be empty, as no real content is there.

Keep in mind that many modules require the default {content}-tag.... So you can put additional blocks in, but it is kind of required to have at least the {content}

Ronny
piar
Forum Members
Forum Members
Posts: 10
Joined: Fri Feb 27, 2009 5:30 pm

Re: [SOLVED] How to allow main content to be empty

Post by piar »

Yes - this works good with that default content - thanks for help!
Post Reply

Return to “CMSMS Core”