This just allows the project summary pages to be displayed with the same node theming as the rest of the site:

diff -u project/project.module contrib/project/project.module
--- project/project.module      2006-09-07 18:01:58.000000000 -0700
+++ contrib/project/project.module      2006-09-28 02:09:56.000000000 -0700
@@ -920,13 +920,13 @@
  * - links: Array of links
  */
 function theme_project_summary($project) {
-  $output = '<div class="' . $project->class . '">';
-  $output .= '<h2>'. l($project->title, "node/$project->nid") .'</h2>';
+  $output = '<div class="node">'; //' . $project->class . '">';
+  $output .= '<h2 class="title">'. l($project->title, "node/$project->nid") .'<
/h2>';
   if ($project->changed) {
     $output .= '<p><small>' . t('Last changed: %interval ago', array('%interval
' => format_interval(time() - $project->changed, 2))) . '</small></p>';
   }
   $output .= $project->body;
-  $output .= theme('links', $project->links);
+  $output .= '<div class="links">' . theme('links', $project->links) . '</div>'
;
   if ($project->terms) {
     $output .= '<br />' . theme('links', $project->terms);
   }

Comments

dww’s picture

Status: Needs review » Needs work

please attach a real patch file for this change. see http://drupal.org/patch or http://drupal.org/diffandpatch for more info.

thanks,
-derek

drumm’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

As of D7, node theming is relatively standard.