additional profile fields

mgcarley - November 4, 2007 - 09:04
Project:Members
Version:5.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Gidday,

I've downloaded and installed the members module, and it seems to work just fine (Drupal 5.2).

I want to create like a "Personnel List", with basic information like username, Full Name, and Country of Residence.

The problem I'm having is that, in defining the fields I want to show for the members list, I can't select any of the fields from profile/i18nprofile.

Are these in a separate place or am I otherwise missing something thats probably right under my nose? Are there some separate permissions to set somewhere? (I've already looked in access control)...

#1

bassam - November 7, 2007 - 10:55

Hi, i faced the same problem. "members" modules assumes that disabled the English language and only have the new language enabled.

I wanted to display the different titles for the fields depending on the language interface.

Here is what you do:
I changed 2 lines of code in members.module
in function _members_fields()

* // Profile fields
* if (module_exists('profile')) {

+ $language = i18n_get_lang();

+ if (module_exists('i18nprofile') && $language != 'en') {

- if (module_exists('i18nprofile') ) {

this worked for me.

try it.

and remember to switch the language before creating the list.

I'm currently working on creating filters for the fields, have you come across anything for that?

-Bassam

#2

rayvaughn - April 11, 2008 - 00:00

I had the same problem and this fix worked for me.
Recommended patch.

 
 

Drupal is a registered trademark of Dries Buytaert.