diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-02-10 03:28:51 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-02-10 03:28:51 +0000 |
commit | 00bc1ccb8b1e1f984e50519ea26e6552e4593b71 (patch) | |
tree | 2073b784772ba8f66413ccbfad6972b12ae7f989 /profiles | |
parent | 069597eaf3e750ffae2c0f8db1d2f9d4407029a7 (diff) | |
download | brdo-00bc1ccb8b1e1f984e50519ea26e6552e4593b71.tar.gz brdo-00bc1ccb8b1e1f984e50519ea26e6552e4593b71.tar.bz2 |
#370806 by cwgordon7: Add navigation and login blocks back to minimal profile.
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/expert/expert.profile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/profiles/expert/expert.profile b/profiles/expert/expert.profile index a8d733a3c..026059e1f 100644 --- a/profiles/expert/expert.profile +++ b/profiles/expert/expert.profile @@ -8,7 +8,7 @@ * An array of modules to enable. */ function expert_profile_modules() { - return array('dblog'); + return array('block', 'dblog'); } /** @@ -42,6 +42,9 @@ function expert_profile_task_list() { * Perform any final installation tasks for this profile. */ function expert_profile_tasks(&$task, $url) { + // Enable 2 standard blocks. + db_query("INSERT INTO {block} (module, delta, theme, status, weight, region, pages, cache) VALUES ('%s', '%s', '%s', %d, %d, '%s', '%s', %d)", 'user', 'login', 'garland', 1, 0, 'left', '', -1); + db_query("INSERT INTO {block} (module, delta, theme, status, weight, region, pages, cache) VALUES ('%s', '%s', '%s', %d, %d, '%s', '%s', %d)", 'user', 'navigation', 'garland', 1, 0, 'left', '', -1); } /** |