Hi,

Is it possible please that the fields that update in the PHPList installation are not from the profile.module, but from node profile ...

currently it is

if (module_exists('profile)) {
    $form['general']['mapping'] = array(
      '#title' => 'Attribute mapping',
      '#type' => 'fieldset',
      '#description' => t('Use these settings to transfer first and last names from Drupal profiles to phpList.  If the phpList attributes do not already exist, they will be created.  Use the SYNCHRONISE NOW link to refresh all existing accounts.')
    );

    $form['general']['mapping']['phplist_profilefirstname'] = array(
      '#type' => 'textfield',
      '#title' => t('Drupal profile field for FIRST NAME'),
      '#default_value' => variable_get('phplist_profilefirstname', 'profile_')
    );

    $form['general']['mapping']['phplist_plfirstname'] = array(
      '#type' => 'textfield',
      '#title' => t('phpList FIRST NAME attribute'),
      '#default_value' => variable_get('phplist_plfirstname', 'First Name')
    );

    $form['general']['mapping']['phplist_profilelastname'] = array(
      '#type' => 'textfield',
      '#title' => t('Drupal profile field for LAST NAME'),
      '#default_value' => variable_get('phplist_profilelastname', 'profile_')
    );

    $form['general']['mapping']['phplist_pllastname'] = array(
      '#type' => 'textfield',
      '#title' => t('phpList LAST NAME attribute'),
      '#default_value' => variable_get('phplist_pllastname', 'Last Name')
    );

    $form['general']['mapping']['phplist_roles'] = array(
      '#type' => 'checkbox',
      '#title' => t('Map non-system roles'),
      '#options' => array(0, 1),
      '#default_value' => variable_get('phplist_roles', 0),
      '#description' => t('Create phpList attributes for any custom user roles')
    );
  }

and would like the following fields please :

In my Drupal database fields are as follows:

Table: drupal_content_type_profile

field_name_value
field_lastname_value
field_company_value
field_telephone_value
field_profession_value
field_country_value
etc.

Would most most appreciate your help on this.

Lilian

Comments

paulbeaney’s picture

Status: Active » Closed (duplicate)