Unable to load block into composer. You must edit this content from within the context of the page.

Permalink 6 users found helpful
I am sure I am missing something...

I added a Content block to the page defaults (with the 'Main' content area). Added a Content thingy in the 'Edit Form' spot. Do I need to link them somehow?

Thanks,
C

View Replies:
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
You have to specify where the Content block is going to be output (since you're adding an actual block through Composer and not just an attribute).

At the Page Types dashboard page, select 'Output' for the page type you are editing.
Select 'Edit Defaults' for the page template/s this page type can output to.
Put the page in edit mode and add a 'Composer Control' block (its right at the bottom).
It will ask you to select a Composer control, select your Content block.
Publish your changes!

You should see a message saying "The Content page type composer form element will output its contents here (Block ID xxx)"
somesayinice replied on at Permalink Reply
Thanks so much for this
snobo replied on at Permalink Reply
snobo
Thanks a lot for posting this, it just helped me!

I wish there was a complete & concise description of Composer in 5.7 - but as always with C5, the information is limited and scattered across different pages and sections... At least I cannot find any complete page in the official docs. Does anyone know any good source?

Update: A useful Howto is herehttps://www.concrete5.org/documentation/how-tos/editors/setup-a-simp... but I still wonder why official docs give only scarce hints on Composer usage...
thadmiller replied on at Permalink Reply
I am experiencing the same issue. I have put the Composer Control block on the page template of the page type, and see the "The Content page type composer form element will output its content here (Block ID xxx)" message.

In fact, I just pulled down a copy of 5.7.3.1 and did a fresh install with the sample content, and on this new instance I see the same issue if I go to the Composer of a Portfolio Project or Blog Entry.

Thad
thadmiller replied on at Permalink Reply
Nevermind...

It seems there was a disconnect between my page, and the Page Type (I had made modifications to the Page Type after creating a page). Once I deleted the page, and recreated it, all the blocks and composer fields showed correctly. It sucks that connection is frail, but at least I know what to look out for now.

Thad
simoneast replied on at Permalink Reply
simoneast
Yeah there doesn't seem to be a way to fix this *after* a page has been created and the connection is lost. There's no way to add a "Composer Control" block to an existing page.

Will have to go and recreate a whole bunch of pages... :-(
dustinbrunson replied on at Permalink Reply
I had same issue. First time trying to create a new entry after creating a new page type. Clearing Cache fixed the problem
serot0nin replied on at Permalink Reply
serot0nin
Has there been any update on this? If I want to add something to a page template later down the track and update the composer form, this will essentially "break" composer editability for all pages created before the change. This puts a rather restrictive stranglehold on flexibility, IMO.
serot0nin replied on at Permalink Reply
serot0nin
I've had a think about this and wonder if there might be a way for older pages to refer to the updated template and somehow insert the new controller that's needed. Oh well, for now, I guess it is how it is. Would be cool, though!