Page 1 of 1

[solved] 1.6 MLE install, No Content Given error with multiple content blocks

Posted: Thu Jul 09, 2009 1:37 pm
by lampsie
Hi,
Have set up and installed 1.6 MLE - encountering a strange issue:

1) Add two content blocks to my template:

Code: Select all

{content block="section1"}
and

Code: Select all

{content block="section2"}
...I go in and edit/add a page, enter content into both sections, but I keep getting the error "No Content Given!" upon submit. If I edit my template and just use single {content}, everything is fine.

Any ideas?

thanks,
Lamps

Re: Fresh 1.6 MLE install, No Content Given error with multiple content blocks

Posted: Thu Jul 09, 2009 1:47 pm
by RonnyK
In general should one content block named {content} remain, as many modules require the default {content} block.... Extra content-blocks can be named specifically, but the default one should remain.

Ronny

[solved] 1.6 MLE install, No Content Given error with multiple content blocks

Posted: Thu Jul 09, 2009 1:52 pm
by lampsie
Hi Ronny,

Thank you for quick reply, that worked!
My bad fully for misreading the following docs, but might suggest it could be stated more explicitly: http://wiki.cmsmadesimple.org/index.php ... ent_blocks

Thanks :)
Lamps

Re: [solved] 1.6 MLE install, No Content Given error with multiple content blocks

Posted: Thu Jul 09, 2009 2:03 pm
by RonnyK
In fact it does state it there.... ;)

It says "extra" content blocks can be created like....., meaning that the first one {content} should remain.

Also a note is described:
Note
The target of most module output will be the first content block (created with {content}).
Ronny