More in this section

Forums / Developing with Sitefinity / How to add backend filter for custom classifications

How to add backend filter for custom classifications

6 posts, 1 answered
  1. Thomas
    Thomas avatar
    223 posts
    Registered:
    19 Jan 2011
    28 Jul 2011
    Link to this post
    Hi,

    Long story short: in News (for example), on the right side bar, you have the ability to filter news items by tags or categories. I'd like to add the same feature for custom classifications I created. Is it possible? If so, how?

    I tried doing it by messing with the advanced settings, but keep getting into errors, then try to modify the config files manually, but still can't get it to work for now. I was wondering if I was on the right track or not.

    Thanks.
  2. Nicolas
    Nicolas avatar
    156 posts
    Registered:
    19 Jan 2011
    29 Jul 2011
    Link to this post
    Hi,

    I try to made the same thing. The first time by Settings > Advanced on backend unfortunately I got an error then I try to modify xml configuration but it doesn't works too.

    Regards,
    Nicolas
  3. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    29 Jul 2011
    Link to this post
    Hi,

    Please check the following thread in which my colleague Boyan discussed similar scenario.

    Kind regards,
    Victor Velev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  4. Nicolas
    Nicolas avatar
    156 posts
    Registered:
    19 Jan 2011
    29 Jul 2011
    Link to this post
    Hi Victor,

    I check the thread, it's the same procedure that I made.

    When you create an item under NewsBackendList > SideBar > Sections with similar settings as tag or category, you break the list of News in Backend it doesn't load (blank page because of JS error).

    If under your custom section you try to create a DynamicCommandWidgetElement, you obtains this error :
    Property accessor 'PageSize' on object 'Telerik.Sitefinity.Web.UI.Backend.Elements.Config.DynamicCommandWidgetElement' threw the following exception:'Object reference not set to an instance of an object.'

    And I tried a workaround with manually edition of configuration files, but it activate another exception.

    Regards,
    Nicolas
  5. Thomas
    Thomas avatar
    223 posts
    Registered:
    19 Jan 2011
    02 Aug 2011
    Link to this post
    Hi,

    As Nicolas said, it doesn't work. Due to this, we had to use Categories rather than our own classification, which is unfortunate.
  6. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    03 Aug 2011
    Link to this post
    Hi Thomas and Nicolas,

    After deeper investigation of the issue it seems that adding a custom classification ( based on custom field or other type of custom data ) for the already built - in modules that come with Sitefinity is not easy at all because the whole side view configuration must be altered. However it will be easier if you are creating such classification for a custom module.

    Regards,
    Victor Velev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
    Answered
6 posts, 1 answered