+1-888-365-2779
Try Now
More in this section

Forums / Set-up & Installation / News Category Page

News Category Page

5 posts, 0 answered
  1. Rafael
    Rafael avatar
    3 posts
    Registered:
    20 Sep 2007
    27 Sep 2007
    Link to this post
    Hi,

    I´m using the Categories List Control on my site. The link it makes points to a page passing CategoryID on the URL.

    ex: NewsCategory.aspx?CategoryID=260ac15d-dc08-453c-a073-1e0c3dfbc0ab

    I would like to have this page listing all news from this category. How can I do that?

    Thanks
  2. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    08 Oct 2007
    Link to this post
    Hello Rafael,

    Categories List control you can use display all the categories for the content in any of the generic content based modules (Generic Content, News, Blogs). Let's say you want to display all the categories in News module, than you'll drag the Categories List on the page, click "edit" and enter "News" for ProviderName property (in Data group). "News" is default provider for News module. This will display all the categories in News list.

    PostsList and NewsList controls are aware of the query strings being passed by Categories List control, so once they see the CategoryID query string, they will automatically display only the content in that category. This means that you need to set the CategoryContentUrl property of Categories List control to a page that contains NewsList control if you want to display all the news inside of that particular category. The same logic applies to PostsList control.

    I hope this makes sense. Let me know if you need more assistance.

    Regards,
    Ivan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Rafael
    Rafael avatar
    3 posts
    Registered:
    20 Sep 2007
    09 Oct 2007
    Link to this post
    It make senses, I really expected that but the page I choose to list all news from specifi category, the one which have the NewsList control, is listing all news of all categories..

    What can I do to debug this?

    Thanks
  4. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    09 Oct 2007
    Link to this post
    Hi Rafael,

    This was an issue in Sitefinity 3.1 BETA. Are you using the final 3.1 release?

    Greetings,
    Ivan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Rafael
    Rafael avatar
    3 posts
    Registered:
    20 Sep 2007
    14 Oct 2007
    Link to this post
    I was using 3.1 BETA. Now it is working with 3.1 final release.

    Thanks!
Register for webinar
5 posts, 0 answered