I'm working on some improvements to the project module. I've modified the taxonomy for Projects but, for some reason, the tabs, seemingly populated by categories data objects, doesn't seem to be updating. I cannot see where in the code the project module is generating these tabbed headers:
function project_page_overview($termname = NULL, $version = NULL) {
// If browsing by taxonomy, only fetch projects for this term
if (function_exists('taxonomy_get_vocabularies') && ($vocabulary = current(taxonomy_get_vocabularies('project_project')))) {
$terms = taxonomy_get_tree($vocabulary->vid);
if ($termname) {
foreach ($terms as $term) {
if ($term->name == $termname) {
break;
}
}
}
else {
$term = current($terms);
}
if ($term->description) {
$output .= $term->description;
}
$result = db_query(db_rewrite_sql("SELECT n.nid, n.title, n.teaser, n.format, n.changed, p.issues FROM {node} n INNER JOIN {project_projects} p ON n.nid = p.nid LEFT JOIN {term_node} r ON n.nid = r.nid WHERE n.status = 1 AND r.tid = %d ORDER BY n.title ASC"), $term->tid);
}
// Fetch all projects
else {
$result = db_query(db_rewrite_sql("SELECT n.nid, n.title, n.teaser, n.format, n.changed, p.issues FROM {node} n INNER JOIN {project_projects} p ON n.nid = p.nid WHERE n.status = 1 ORDER BY n.title ASC"));