This project is read-only.

How to wrap widgets

Topics: Customizing Orchard
Sep 27, 2012 at 11:47 AM

Hi All,

Does anyone know how to place several widgets into a special <div> element for one particular page.

E.g. I have a layer named "l1". On admin page I add some widgets to zone "Content" with layer "l1". Is it possible to produce markup like

<div id="content" class="group">

<div class="specialWrapper">
<div>widget1 here</div>
<div>widget2 here</div>
<div>widgetN here</div>


Thank you,


Sep 30, 2012 at 10:14 PM

How is that special wrapper different from a zone?

Oct 1, 2012 at 10:21 AM

It seems I've already found a solution:

I defined several new zones in Layout.cshtml. This is somthing like definition of TripelFirst, TripelSecond, TripelThird zones in TheThemeMachine. These zones have necessary wrappers.

Thank you!