Hi,
I was wondering if it's possible to alter this function in the blog module, so that it displays a custom field from the user's profile instead of the user name of the user:
<?php
function blog_view($node, $teaser = FALSE, $page = FALSE) {
if ($page) {
// Breadcrumb navigation
$breadcrumb[] = array('path' => 'blog', 'title' => t('Blogs'));
$breadcrumb[] = array('path' => 'blog/'. $node->uid, 'title' => t("@name's blog", array('@name' => $node->profile_displayName)));
$breadcrumb[] = array('path' => 'node/'. $node->nid);
menu_set_location($breadcrumb);
}
return node_prepare($node, $teaser);
}
?>
Any help would be great!
Sarah