Page 1 of 1

[SOLVED] How to allow main content to be empty

Posted: Sat Feb 28, 2009 8:54 am
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,

Re: How to allow main content to be empty

Posted: Sat Feb 28, 2009 10:43 am
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

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

Posted: Sat Feb 28, 2009 11:54 am
by piar
Yes - this works good with that default content - thanks for help!