More in this section

Forums / Developing with Sitefinity / Getting the Filter applied to a widget progamatically

Getting the Filter applied to a widget progamatically

8 posts, 0 answered
  1. Glavin
    Glavin avatar
    8 posts
    Registered:
    07 Nov 2008
    29 Jan 2013
    Link to this post
    I used the custom module builder to make a set of parent and child objects (Departments -> Staff).  I have a custom department widget that has a list of staff that belong to that department. We are using categories as filters and I need to be able to get the category filter applied to the department list on the page manager when I am getting a list of staff that belong to that department and have the same category as the filter applied to the widget.
  2. Glavin
    Glavin avatar
    8 posts
    Registered:
    07 Nov 2008
    31 Jan 2013
    Link to this post
    Anyone have any thoughts
  3. Randy Hodge
    Randy Hodge avatar
    96 posts
    Registered:
    03 Nov 2014
    01 Feb 2013
    Link to this post
    Hello Michael,

    I'm not clear on exactly what behavior you are trying to achieve. Could you provide some screen shots of what you have now and a detailed descrition of the behavior you desire?

    Thank you in advance.

    All the best,
    Randy Hodge
    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. Glavin
    Glavin avatar
    8 posts
    Registered:
    07 Nov 2008
    01 Feb 2013
    Link to this post
    here is a link to the design preview I am working towards Staff Detail Page

    there will be several pages with the setup in the site, each needing a different set of Staff or departments depending on the categories applied to the departments and staff
  5. Randy Hodge
    Randy Hodge avatar
    96 posts
    Registered:
    03 Nov 2014
    06 Feb 2013
    Link to this post
    Hello Michael,

    Let me see if I have this correct. You have a department widget on a page that lists the departments filtered by category. The user clicks on a department and then sees a list of staff that is also filtered by the same category. Is that correct? In that case your widget can read the URL and use the piece that contains the filter info.

    Please let me know if that is what you are after.

    All the best,
    Randy Hodge
    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
  6. Glavin
    Glavin avatar
    8 posts
    Registered:
    07 Nov 2008
    06 Feb 2013 in reply to Randy Hodge
    Link to this post
    The main department list has a sublist on the same screen that lists the staff that belong to those departments and the same categories as set in the original filter. They click on the staff name to go to a separate page for the staff details.
  7. Randy Hodge
    Randy Hodge avatar
    96 posts
    Registered:
    03 Nov 2014
    08 Feb 2013
    Link to this post
    Hello Michael,

    Can you please open a support ticket so we can request some proprietary information from you?

    Thank you.

    All the best,
    Randy Hodge
    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
  8. Glavin
    Glavin avatar
    8 posts
    Registered:
    07 Nov 2008
    08 Feb 2013
    Link to this post

    Ticket is #654739.

     

    At the moment I have a work around that will work for my purposes, but it feels a bit "dirty/hacky" to me.

8 posts, 0 answered