Community Documentation

Recent comments, grouped by section

Last updated May 14, 2012. Created by Itangalo on May 14, 2012.
Log in to edit this page.

As site visitor I would like to have a list of recent comments displayed on the front page. The comments should be grouped by the sub section of the articles they belong to. This is important since it helps me find hot news in the sections I am most interested in.

How to demo

  1. Post a comment to an article in the world section. (Create an article first, if necessary.)
  2. Verify that the world section appears as the first section in the comment list on the front page, with the new comment listed on top.
  3. Post a comment to an article in the Europe section. (Create an article first, if necessary.)
  4. Verify that Europe is now the first section in the comment list on the front page, followed by any other comments in the Europe section and that the world section is second.
  5. Verify that each item in the comment list contains the name of the related article, linking to the article page.

Preparation

  • The site should have a news article content type, as provided by the first exercise in this suite.