What's the best practice to give editors the ability of dynamic building blocks within umbraco? They should be able to pick different layout pieces for the content area (3 columns, 2 columns, large image floating left or right) and combine them , move them up and down within the page - and of course edit the content in the layout piece (image, text, ...). It's roughly:
<div id="content">
<div class="content2Col">....content...</div>
<div class="content3Col">....content...</div>
<div class="content2Col">....content...</div>
<div class="content2Col">....content...</div>
.....
</div>
I was playing around with templates in the rich text editor which worked, but does not really support moving the templates up and down (as you can not select the surrounding div element) and probably gonna break the markup soon... any hints?
This blog post might help elaborate on Jan's answer - the MultiNode TreePicker would be a good choice of picker as the selected nodes are also sortable.
dynamic building blocks
Hey all.
What's the best practice to give editors the ability of dynamic building blocks within umbraco? They should be able to pick different layout pieces for the content area (3 columns, 2 columns, large image floating left or right) and combine them , move them up and down within the page - and of course edit the content in the layout piece (image, text, ...). It's roughly:
<div id="content">
<div class="content2Col">....content...</div>
<div class="content3Col">....content...</div>
<div class="content2Col">....content...</div>
<div class="content2Col">....content...</div>
.....
</div>
I was playing around with templates in the rich text editor which worked, but does not really support moving the templates up and down (as you can not select the surrounding div element) and probably gonna break the markup soon... any hints?
cheers!
Hi Heiko
I think I would create three tabs on the document types called "Left content", "Center content" and "Right content".
Then I would use a multipicker datatype to point at a content repository created in the content section.
Then create the content you need to place around your pages here and then you can move it up and down and sort it as you like.
Then you can have two templates, you can use...either the one with 2 columns or the one with 3 columns.
I hope this makes sense.
/Jan
Jan,
it does make sense. Thanks for pointing me to the multipicker. I'll give that a try...
Hi Heiko,
This blog post might help elaborate on Jan's answer - the MultiNode TreePicker would be a good choice of picker as the selected nodes are also sortable.
HTH,
Hendy
is working on a reply...