Build a block to insert an editable area?
Permalink
Hey all,
I'm wondering if this has been kicked around before. I''m wondering if its possible to create a block that could contain the HTML (opening and closing div) and PHP ( $a = new Area(''); ) needed to add a new editable area.
The idea being that I'd like to create Column Blocks (columns) that end users can drop into a full-width Page Type and be editable, but still have the Block's styles tied to the site's CSS. This might give some better control over page layout for the end user by being able to combine different column layouts while still having the styles intact and not having to use the native Layout tool (which I've found a bit flakey).
The goal is to cut down on creating so many custom Page Types to accommodate the whims of a client.
Any thoughts appreciated.
I'm wondering if this has been kicked around before. I''m wondering if its possible to create a block that could contain the HTML (opening and closing div) and PHP ( $a = new Area(''); ) needed to add a new editable area.
The idea being that I'd like to create Column Blocks (columns) that end users can drop into a full-width Page Type and be editable, but still have the Block's styles tied to the site's CSS. This might give some better control over page layout for the end user by being able to combine different column layouts while still having the styles intact and not having to use the native Layout tool (which I've found a bit flakey).
The goal is to cut down on creating so many custom Page Types to accommodate the whims of a client.
Any thoughts appreciated.
Thanks John,
Not quite was I was thinking. I was hoping to find a way to drop new editable areas, not pull from other content. I can achieve a simple kind of solution via Designer Content, but am looking for something a little more native.
See attached screenshots.
Not quite was I was thinking. I was hoping to find a way to drop new editable areas, not pull from other content. I can achieve a simple kind of solution via Designer Content, but am looking for something a little more native.
See attached screenshots.
You can do this by adding a layout.
http://www.concrete5.org/documentation/editors-guide/in-page-editin...
http://www.concrete5.org/documentation/editors-guide/in-page-editin...
Thanks - the idea is to avoid using the native layout tool. Cheers.
Ahh, the 'block inside a block' question. It's been discussed many times. As far as I know, it's still not easily accomplished.
http://www.concrete5.org/community/forums/usage/how-do-you-add-bloc...
http://www.concrete5.org/community/forums/usage/how-do-you-add-bloc...
Right - nested blocks. Ah well - thanks for getting back to me about it.
http://www.concrete5.org/marketplace/addons/parent-area/...
and
http://www.concrete5.org/marketplace/addons/global-areas/...