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

nevets’s picture

Have you looked at the realname module?

chetan-singhal’s picture

you can override theme_username

theme_username

chetan