Close

Changes since 3.60 version

objecta
7 years ago
#12566 Quote
Avatar
  • 14
Hi

Last Year we made som customizations the RichBlog plugin adding the following div to the skin Home index.cshtml

<div class="rb-cats">
  @Html.Action("RichBlogCategories", "RichBlog")
</div>

Now we are triyng to uddate the site to nop 3.80 and the only missing customization is for the RichBlog plugin where we are getting an error telling us the "RichBlogCategories" action does not exists on the "RichBlog" controller.

Has this action been removed and if so, is there any action we can use instead getting the same kind of data?

Best regards
Objecta Data
Klaus E. Frederiksen
hristian.dimov
7 years ago
#12575 Quote
Avatar
  • Moderator
  • 386
objecta wrote:
Hi

Last Year we made som customizations the RichBlog plugin adding the following div to the skin Home index.cshtml

<div class="rb-cats">
  @Html.Action("RichBlogCategories", "RichBlog")
</div>

Now we are triyng to uddate the site to nop 3.80 and the only missing customization is for the RichBlog plugin where we are getting an error telling us the "RichBlogCategories" action does not exists on the "RichBlog" controller.

Has this action been removed and if so, is there any action we can use instead getting the same kind of data?

Best regards
Objecta Data
Klaus E. Frederiksen


Hi Klaus,

Yes, we made this action private because we changed how the plugin is integrated to the page(s). Now it is using widget zones.

Here is what you should do:

1) Add your custom widget zone in the code e.g:

<div class="rb-cats">
  @Html.Widget("your_custom_widget_zone_for_rich_blog_categories")
</div>

2) Add your (new) widget zone in the \Plugins\SevenSpikes.Nop.Plugins.RichBlog\SupportedWidgetZones_BlogCategoryNavigation.xml file - e.g:

  <WidgetZone>your_custom_widget_zone_for_rich_blog_categories</WidgetZone>

3) Restart the application

4) Go to Rich Blog Administration -> Category Navigation Settings tab and select your widget zone from the drop-down.

That's it.

P.S. Please do not duplicate forum posts and tickets.

Hope this helps!
Regards,
Hristian Dimov
Nop-Templates.com