Close

Model.NewsEnabled check missing in file Views\Commons\Footer.cshtml

godinamo
9 years ago
#8278 Quote
Avatar
  • 1
Hi,

in Views\Commons\Footer.cshtml page the NewsEnabled check is missing and should be fixed as following:

@if (Model.NewsEnabled)
        {
                      <li><a target="_blank" class="rss" href="@Url.RouteUrl("BlogRSS", new { languageId = workingLanguageId })"></a></li>
        }

BR
Stefan
9 years ago
#8285 Quote
Avatar
  • Moderator
  • 157
Hi godinamo,

You are right that the check is missing. But I think it will be best to use the Model.BlogEnabled as the rss is for the blog. We will add a check in our themes about that.

Thanks for the feedback!
Best Regards,

Stefan Hristov
Nop-Templates.com