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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
lampsie
Forum Members
Forum Members
Posts: 38
Joined: Fri Nov 17, 2006 9:25 am

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

Post 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
Last edited by lampsie on Thu Jul 09, 2009 1:52 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

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

Post 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
lampsie
Forum Members
Forum Members
Posts: 38
Joined: Fri Nov 17, 2006 9:25 am

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

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

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

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”