Ash8087
Ash8087

Reputation: 701

Scaffolding Components with Insertable Placeholders in Sitecore

I am trying to create a Sitecore site with a main Layout called _Main. The _Main layout has one Placeholder called Content.

I want to allow the author to insert components (Renderings, I guess) into this Placeholder. The components he will be allowed to insert will have names like...

These are basically "scaffolding" components which, in turn, will have their own internal placeholders (e.g. RightRail, LeftRail, Center). The author will then be able to insert “real” components into these placeholders.

The goal is to allow the user to dynamically build the layout of the page.

My question is this: Will this work. Has anyone done it before? Will I need to use dynamic placeholders? Will this be possible using the Experience Editor?

Thanks!

Upvotes: 0

Views: 232

Answers (1)

Jay S
Jay S

Reputation: 7994

This is a very common pattern of 'containers' which should definitely leverage dynamic placeholders. Otherwise, you will get into issues if you have two one-columns on a page and need to have a user add it to the correct one-column container.

So, so to your questions:

  1. Yes it will work.
  2. You should use dynamic placeholders or you will be severely limiting yourself and causing editors issues.
  3. This can be done in Experience Editor, it is just a normal rendering after all.

Upvotes: 3

Related Questions