More in this section

Forums / Developing with Sitefinity / Multiple Blogs - Categories grouped by blog

Multiple Blogs - Categories grouped by blog

7 posts, 0 answered
  1. MNP
    MNP avatar
    79 posts
    Registered:
    23 Apr 2008
    08 Dec 2008
    Link to this post
    Is there a way on a category list that I can filter by blog? I want to only show the categories of a certain blog (i have several). If I drop the category list control and set the provider to blogs, it shows all categories for all blogs.

    Thanks

    -Matt
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    12 Dec 2008
    Link to this post
    Hi Matt,

    Categories List control does not provide FilterExpression property that will allow you to filter the blogs. This functionality will be implemented in Sitefinity v3.6

    Hope you will find this information helpful.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. MNP
    MNP avatar
    79 posts
    Registered:
    23 Apr 2008
    12 Dec 2008
    Link to this post
    Perfect. Glad to see it's on it's way!
  4. Venkat
    Venkat avatar
    105 posts
    Registered:
    20 Nov 2008
    12 Dec 2008
    Link to this post
    Hi Ivan

    When will we expect the new version 3.6?

    Thanks Venkat
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    15 Dec 2008
    Link to this post
    Hello Venkat,

    Check out the following link http://www.sitefinity.com/support/forums/support-forum-thread/b1043S-bthacb.aspx

    Regards,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Roland
    Roland avatar
    12 posts
    Registered:
    07 Apr 2009
    11 Feb 2010
    Link to this post
    Hi,

    I do not see any connection between the Blogs and the Categories in the database.
    Is there an index table or lookup that I am missing?

    This post implies that the FilterExpression will allow me to filter for which Blog, but I don't know what I could put in there to get categories for a certain blog.

    Aslo, if there is documentation on how these items are connected that would be useful as well.

    Thanks,
    Roland
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    11 Feb 2010
    Link to this post
    Hi Roland,

    The "Category" is a metakey. You can use GetMetaData to retrieve a category associated with a blog post. As for the database you can check [sf_GCMetaData] table. You may find the following blog post useful - Filter CategoriesTree control by Blog.
    FilterExpression property - you filter the posts by category.  The syntax is Category = "some name"

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Register for webinar
7 posts, 0 answered