By ShutterFreak on
Hi,
I have enabled the user profile module, and have defined a "Company" field, with internal name "profile_company". I want to make this field visible in the group user listing. How is this possible?
Best regards,
Olivier
Comments
Are these edits sufficient?
I guess I should edit
og_list_users_sql(),og_list_users_page($gid)andog_list_users_faces_page($gid)for the magic to take effect.Or do I need to edit a view too?
Got it working!
I got it working for me.
Basically I created the following function:
I then copied the
theme_username()code from theme.inc to my theme's template.php:Glad you could help yourself!
...and solve a question for me! Thanks!
You're welcome!
As a result of applying my patch, every time a user name is displayed, the company is written too.
By defining the CSS for
span.username-companyyou can influence the way the company information is displayed. When displaying users in an image grid (users with their avatar images), I define thatspanas a block with the following CSS:display: block;.