With reference to your question, here is a scenario that should help ::
(This implementation was done for D6. It will also work for D7 with some changes)
// Say, module name is 'common_operations'
- Invoke hook_menu_alter
//Overwriting term page display
if (isset($items['taxonomy/term/%'])) {
$items['taxonomy/term/%']['title'] = '';// Give title you need
$items['taxonomy/term/%']['page callback'] = 'common_operations_taxonomy_page_display_callback';
$items['taxonomy/term/%']['page arguments'] = array(2);
$items['taxonomy/term/%']['access arguments'] = array('access content');
}
- Defines 'common_operations_taxonomy_page_display_callback'
function common_operations_taxonomy_page_display_callback($tid){
$term = taxonomy_get_term($tid);
switch($term->vid) {
case 1: //Blog Tags vocab.
$blog_tags = '';
............................
return $blog_tags;
case 2: //Issues vocab.
$issues = '';
............................
return $issues;
case 3: //Tags vocab.
$tags = '';
............................
return $tags;
default:
// Returns the default term page provided by taxonomy module.
module_load_include('inc', 'taxonomy', 'taxonomy.pages');
return taxonomy_term_page($tid);
}
}
- Here, Blog Tags, Issues, Tags are different vocabularies. So, whatever changes we need for different vocabulary term details pages, we can take care off independently.
Hope it helps.