Theme Username in Avatar Blocks 6.x
Liliplanet - March 1, 2009 - 16:37
| Project: | Avatar Blocks |
| Version: | 5.x-1.2 |
| Component: | Documentation |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
Such a beautiful module :) Actually using version 6.x ...
Please, how can I theme the username to output full name as per realname.module
in template.php (as per the handbook http://demo.roopletheme.com/avatarblocks/content/32-themeing-using-theme...)
function endless_news_avatar_blocks_avatar($avatar_link, $name, $userlink) {
if ($avatar_link) {
$output = '<div class="avatar-user-block">';
$output .= '<div class="userpicture">';
$output .= $avatar_link;
$output .= '</div>';
$output .= '<div class="username">';
$output .= $userlink;
$output .= '</div>';
$output .= '<div style="clear:both"></div>';
$output .= '</div>';
}
return $output;
}in css
.avatar-user-block {
border: 1px solid #000;
background: #ddd;
margin: 2px 0;
padding: 3px;
}
.username {
float: left;
margin-left: 10px;
}Is it possible to add a taxonomy term (in my case country) just below the realname?
Avatar + realname + country ..
Look forward to any reply, and again, thank you.
Lilian

#1
bump * sorry *
#2
+1