Close

Profile: MARIAAPOSTOLAKI

Avatar

User posts

10 years ago

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