- 29
I have several widgets in the home_page_top zone. I'm trying to put them in a certain order and have the display order correct. However, the display never is correct. Looking at _HtmlWidget.cshtml, I do not see an order by for HtmlWidgets. Should there be?
I'm using the Lighthouse template 3.2
@using SevenSpikes.Nop.Plugins.HtmlWidgets.Models;
@model HtmlWidgetsPublicFullModel
@{
if (Model.HtmlWidgets.Count > 0)
{
foreach (var htmlwidget in Model.HtmlWidgets)
{
<div>
@Html.Raw(htmlwidget.HtmlContent)
</div>
}
}
}
I'm using the Lighthouse template 3.2
@using SevenSpikes.Nop.Plugins.HtmlWidgets.Models;
@model HtmlWidgetsPublicFullModel
@{
if (Model.HtmlWidgets.Count > 0)
{
foreach (var htmlwidget in Model.HtmlWidgets)
{
<div>
@Html.Raw(htmlwidget.HtmlContent)
</div>
}
}
}