Taxonomy data are not shown on profile view
Quick solution :
update content_profile.theme.inc =>
In "function content_profile_preprocess_content_profile_display_view"
add at the end
$variables['content'] = node_view($node, ($element['#style'] == 'teaser'), TRUE, TRUE);
+ $variables['content'] .= content_profile_process_taxonomy($node);
calling the new function :
/**
* add to view taxonomy data
*/
function content_profile_process_taxonomy($node) {
$output = '';
$vocabularies = taxonomy_get_vocabularies();
foreach($vocabularies as $vocabulary) {
if ($vocabularies) {
$terms = taxonomy_node_get_terms_by_vocabulary($node, $vocabulary->vid);
if ($terms) {
$output .= '
$output .= '
';
$output .= '
foreach ($terms as $term) {
$trm[] = t($term->name);
}
$output .= implode(', ', $trm);
$output .= '
';
}
}
}
return $output;
}