wentz
wentz

Reputation: 700

Add a widget to the Content zone

I need to add a breadcrumb nav to my site, the problem is that the designer laid out the site so that it is among the fields of the content items. I added a Breadcrumb Zone to my theme and called it from the Layout.cshtml file. First I tried creating new zones in Layout.cshtml and moving the fields out of the local content zone into these new zones (using placement.info), but due to the complexity of the site that got too complicated.

Is there a way to place a widget into a local zone? I've been around in circles on this for a few days.

Upvotes: 0

Views: 68

Answers (1)

wentz
wentz

Reputation: 700

I found the solution and then realized I hadn't posted my question yet. It turns out that the widget zones can be used in local zones! In the local zone, you just put @Display(Layout.ZoneName) where ZoneName is the name of your zone. Simple as that. Source.

Upvotes: 1

Related Questions