By bahman2216 on
Hi
I use profile2 module and want to show name and family beside of username.
I found this part of code in user.module in user module:
function user_rdf_mapping() {
return array(
array(
'type' => 'user',
'bundle' => RDF_DEFAULT_BUNDLE,
'mapping' => array(
'rdftype' => array('sioc:UserAccount'),
'name' => array(
'predicates' => array('foaf:name'),
),
'homepage' => array(
'predicates' => array('foaf:page'),
'type' => 'rel',
),
),
),
);
}
I confused! please explain to do this.
Comments
Have you looked at the
Have you looked at the realname module?
you can override theme_username
you can override
theme_usernametheme_username
chetan