Project

General

Profile

« Previous | Next » 

Revision 665559ca

Added by Andreas Kohlbecker over 11 years ago

zen_dataportal or bartik as default themes, and more sensible presets

View differences:

7.x/modules/cdm_dataportal/profile/CDM_Portal_Testing/CDM_Portal_Testing.profile
12 12
function CDM_Portal_Testing_form_install_configure_form_alter(&$form, $form_state) {
13 13
  // Pre-populate the form.
14 14
  $form['site_information']['site_name']['#default_value'] = st('EDIT CDM DataPortal');
15
  $form['site_information']['site_mail']['#default_value'] = 'admin@dataportal.net';
15
  $form['site_information']['site_mail']['#default_value'] = 'admin@edit.cdm.dataportal.eu';
16 16
  $form['admin_account']['account']['name']['#default_value'] = 'admin';
17
  $form['admin_account']['account']['mail']['#default_value'] = 'wp5Admin@bgbm.org';
17
  $form['admin_account']['account']['mail']['#default_value'] = 'admin@edit.cdm.dataportal.eu';
18 18

  
19 19
  // @Comment WA: enable if default password is required (drupal password_confirm field does not allow default value).
20 20
  // $form['admin_account']['account']['pass']['#type'] = 'textfield';

Also available in: Unified diff