username

Hi,

I am new in elgg. How to i just show friend's username instead of their profile/icon?

For example the code below:

foreach($friends as $friend)
                {
                    echo elgg_view("profile/icon",array('entity' => get_user($friend->guid), 'size' => $size));
                }

How to i change it just to show name only?

Thanks for the advice.

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking