Filter on taxonomies on frontend - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Filter on taxonomies on frontend

  • Filter on taxonomies on frontend
  • Hi all,

    I've created a new module based on the ProductsModule. It serves 'Companies'.
    I use taxonomies to categorize companies.

    How can I achieve the following on the frontend?

    1. Show a list of the taxonomies in a sidemenu area.
    2. When clicking on a category, I want to navigate to a page that shows a list of companies, filtered on the selected category.
    3. The URL should look like this:

    www.mycompany.com/.../

    Is this possible in SF?

    Regards,
    Daniel
  • Hi Daniel ,

    The newsletters and its campaigns does not support classification. I am not sure how you can filter campaign by category in this case.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
  • Hi Ivan,

    I'm not referring to newsletters and campaigns, but to a custom module that serves Companies, based on the Products module.

    Regards,
    Daniel
  • Hi Daniel,

    Ok,

    1. To get all classifications you can use TaxonomyManager and its methods like GetTaxonomies

    2. To filter the items based on the classifications use ContentProviderBase and its GetItemsByTaxon method.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
  • Hi Ivan,

    But how can I create an url like I described? Is that possible?
    So that one can navigate through:

    www.mycompany.com/.../category

    And see a list of companies?

    Regards,
    Daniel
  • Daniel, did you have this working?  I am in the same boat as you are right now...
  • Daniel, did you have this working?  I am in the same boat as you are right now...