Try Now
More in this section

Forums / General Discussions / Displaying categories for published items only.

Displaying categories for published items only.

2 posts, 0 answered
  1. gregory hernandez
    gregory hernandez avatar
    59 posts
    10 Jul 2009
    19 Sep 2014
    Link to this post
    Hello Everyone.

    Okay, how do I get the categories widget to display categories for visible, published items only?

    Here's my situation: I have an events widget and a categories widget sitting on a page.

    On the categories widget, I have the ContentType field set to Telerik.Sitefinity.Events.Model.Event, Telerik.Sitefinity.ContentModules.

    So, I'm getting what I want: the categories assigned to events.

    The problem is that the categories widget is displaying categories for events currently in draft status, not published yet.

    So, one could click on a category and not have any events displayed.

    Is there a way to get the categories widget to only display categories for events that are visibly published?
  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    21 Oct 2016
    24 Sep 2014
    Link to this post

    I am afraid I am not able to reproduce the issue on my side. I have tested the behavior on a Sitefinity 7.1 project and configured the widget to display the categories for the Events content type. The widget displays correctly only the categories for the published event items.

    I have also recorded a short video for your convenience demonstrating the behavior on my side. It would be great help if you can record a video demonstrating how the issue is reproduced on your side and the steps you have taken.

    Sabrie Nedzhip
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered