Active
Project:
Avatar Blocks
Version:
5.x-1.2
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2009 at 16:37 UTC
Updated:
31 Oct 2009 at 22:41 UTC
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
Comments
Comment #1
liliplanet commentedbump * sorry *
Comment #2
jpshayes commented+1