diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-05-21 21:12:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-05-21 21:12:25 +0000 |
commit | 02c8592759c5b33d3d94fe6a515f10af4317dd5c (patch) | |
tree | 570ec558b6f70565d40a3e4f30cac3515c752c48 /profiles | |
parent | 51948a790b92a44e6d1bccb62332cbd413b36f00 (diff) | |
download | brdo-02c8592759c5b33d3d94fe6a515f10af4317dd5c.tar.gz brdo-02c8592759c5b33d3d94fe6a515f10af4317dd5c.tar.bz2 |
- Patch #428744 by Gabor: make the main page content a real block and clean up some of the content API.
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/default/default.profile | 12 | ||||
-rw-r--r-- | profiles/expert/expert.profile | 13 |
2 files changed, 23 insertions, 2 deletions
diff --git a/profiles/default/default.profile b/profiles/default/default.profile index 0e7465c9d..c6d6ec469 100644 --- a/profiles/default/default.profile +++ b/profiles/default/default.profile @@ -91,9 +91,19 @@ function default_profile_task_list() { */ function default_profile_tasks(&$task, $url) { - // Enable 5 standard blocks. + // Enable some standard blocks. $values = array( array( + 'module' => 'system', + 'delta' => 'main', + 'theme' => 'garland', + 'status' => 1, + 'weight' => 0, + 'region' => 'content', + 'pages' => '', + 'cache' => -1, + ), + array( 'module' => 'user', 'delta' => 'login', 'theme' => 'garland', diff --git a/profiles/expert/expert.profile b/profiles/expert/expert.profile index fdf22f47b..a9f09b596 100644 --- a/profiles/expert/expert.profile +++ b/profiles/expert/expert.profile @@ -42,9 +42,20 @@ function expert_profile_task_list() { * Perform any final installation tasks for this profile. */ function expert_profile_tasks(&$task, $url) { - // Enable 4 standard blocks. + + // Enable some standard blocks. $values = array( array( + 'module' => 'system', + 'delta' => 'main', + 'theme' => 'garland', + 'status' => 1, + 'weight' => 0, + 'region' => 'content', + 'pages' => '', + 'cache' => -1, + ), + array( 'module' => 'user', 'delta' => 'login', 'theme' => 'garland', |