Group By problem

  1. I have a problem when trying to group by a field in my view.  My page has an extra cck field ("project_title") and I would like to list under that all the pages for that project - ie:  This is the current page:
  2.  
  3. -Carnival Of Souls
  4.  COS Gallery needs Site Hosts to adjust properties
  5.  Last Updated: 4th Feb, 2008
  6. -Carnival Of Souls
  7.  COS drupal is now online
  8.  Last Updated: 4th Feb, 2008
  9. -Carnival Of Souls
  10.  COS site has Links finished and added to page
  11.  Last Updated: 4th Feb, 2008
  12. -GIFT
  13.  GIFT Ltd site waiting for PHP update
  14.  Last Updated: 4th Feb, 2008
  15. -PTS
  16.  Update to the Header on the PTS site
  17.  Last Updated: 4th Feb, 2008
  18.  
  19. I would like to show:
  20. -Carnival Of Souls
  21.   -COS Gallery needs Site Hosts to adjust properties
  22.     Last Updated: 4th Feb, 2008
  23.   -COS drupal is now online
  24.     Last Updated: 4th Feb, 2008
  25.   -COS site has Links finished and added to page
  26.     Last Updated: 4th Feb, 2008
  27. -GIFT
  28.   -GIFT Ltd site waiting for PHP update
  29.     Last Updated: 4th Feb, 2008
  30. -PTS
  31.   -Update to the Header on the PTS site
  32.     Last Updated: 4th Feb, 2008
  33.  
  34. i am using "list view" with a single field (body/teaser) to achieve what I currently have.  I did try installing the Group-By module, but this didn't do anything.  I also already tried having the project title as a field, and "group multiple values".
  35.  
  36. I have used content template to list the fields I want:
  37.  
  38. <?php if (!$project_title==check_plain($node->field_project_title[0]['view'])) {
  39. $project_title=check_plain($node->field_project_title[0]['view']);
  40. print "<h3>".$project_title."</h3>";
  41. }?>
  42. <a href="q=node/<?php print $node->vid ?>" title="<?php print check_plain($node->title) ?>"><?php print check_plain($node->title) ?></a>
  43. <br/>
  44. <em class="field field-type-userreference field-field-view-by-user">Last Updated: <?php
  45. if ($node->last_comment_timestamp>$node->changed) {
  46.  print date("jS M, Y",$node->last_comment_timestamp);
  47. } else {
  48.  print date("jS M, Y",$node->changed);
  49. } ?></em>
  50.  
  51. I was hoping that the $project_title field would store the project title between list items - but it's not. :(