NopCommerce admin Dashboard News Feed

7 years ago
Hi

How do I can I remove the NopCommerce News feed from the admin Dashboard they dont want it unfortunatly.

Thank You

I
7 years ago
in file Presentation\Nop.Web\Administration\Views\Home\Index.cshtml

remove these lines

<td class="rightcol">
            @Html.Action("NopCommerceNews", "Home")
        </td>


HTH
7 years ago
Done

Thank You

Richard
3 years ago
Is this still the way to do it in the new nopcommerce version 3.8.
Just thought they might have a setting to turn this off by now?

Can anyone confirm?

Thanks
3 years ago
dcarn wrote:
Is this still the way to do it in the new nopcommerce version 3.8.
Just thought they might have a setting to turn this off by now?

Can anyone confirm?

Thanks


There is no such setting, to remove this block you have to delete the following code:
            
@if (!Model.IsLoggedInAsVendor)
{
    <div class="row">
        <div class="col-md-12">
            @Html.Action("NopCommerceNews", "Home")
        </div>
    </div>
}

from Views\Home\Index.cshtml

or you just can collapse this block.
3 years ago
Thanks for the confirmation.
1 year ago
How can i do for version 4.20?

Mariann wrote:
Is this still the way to do it in the new nopcommerce version 3.8.
Just thought they might have a setting to turn this off by now?

Can anyone confirm?

Thanks

There is no such setting, to remove this block you have to delete the following code:
            
@if (!Model.IsLoggedInAsVendor)
{
    <div class="row">
        <div class="col-md-12">
            @Html.Action("NopCommerceNews", "Home")
        </div>
    </div>
}

from Views\Home\Index.cshtml

or you just can collapse this block.
1 year ago
Same as above

Remove
            
@if (!Model.IsLoggedInAsVendor)
{
    <div class="row">
        <div class="col-md-12">
            @Html.Action("NopCommerceNews", "Home")
        </div>
    </div>
}

From

Presentation\Nop.Web\Areas\Admin\Views\Home\Index.cshtml
5 months ago
Thank you Mariann! Still works in 4.20

Mariann wrote:
Is this still the way to do it in the new nopcommerce version 3.8.
Just thought they might have a setting to turn this off by now?

Can anyone confirm?

Thanks

There is no such setting, to remove this block you have to delete the following code:
            
@if (!Model.IsLoggedInAsVendor)
{
    <div class="row">
        <div class="col-md-12">
            @Html.Action("NopCommerceNews", "Home")
        </div>
    </div>
}

from Views\Home\Index.cshtml

or you just can collapse this block.