Browse Source

fixing a minor bug: default site title set correctly now.

tags/intro_KPN
Bèr Kessels 12 years ago
parent
commit
2cea6ff5e4
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      profiles/wizzlern/wizzlern.profile

+ 2
- 1
profiles/wizzlern/wizzlern.profile View File

@@ -206,6 +206,7 @@ function wizzlern_profile_tasks(&$task, $url) {
function wizzlern_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'install_configure') {
// Set default for site name field.
$form['site_information']['site_name']['#wizzlern_value'] = $_SERVER['SERVER_NAME'] . 'Training';
$form['site_information']['site_name']['#value'] = $_SERVER['SERVER_NAME'] . '/Training';
}
}