Support wrote:Hello,
I have created one page with the system name "wherearewe" that displays some info about the place where my shop is.
I have created at the "SupportedWidgetZones.xml" file a new widget zone with the name "slider_zone" and at the "TopicBlock.cshtml" I have changed the code:
<div class="topic-html-content-body">
@Html.Raw(Model.Body)
</div>
into:
<div class="topic-html-content-body">
@Html.Raw(Model.Body)
@if (Model.SystemName == "WhereAreWe")
{
@Html.Widget("slider_zone")
}
</div>
Although I have done all the above, the slider isn't displayed.
Can anyone help me please?!?!
P.S. I am using NopCommerce 3.10
Hi MARIAAPOSTOLAKI,
Can you please use the same system name in the view as it is shown in the administration, i.e. wherearewe lowercase. As you are making the compare with "==" it is case sensitive. Also have you mapped the slider to the "slider_zone" widget zone in the administration of the slider.
Best Regards!
Hi!
I have done exactly the same as MARIAAPOSTOLAKI with the the same system name in the view as it is shown in the administration and i have choosen the right zone at the widget zone in the administration of the slider. But still nothing..! :( The slider isn't displayed.. Can you help me please!!!
Thx,