summaryrefslogtreecommitdiff
path: root/profiles/default/default.profile
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/default/default.profile')
-rw-r--r--profiles/default/default.profile7
1 files changed, 6 insertions, 1 deletions
diff --git a/profiles/default/default.profile b/profiles/default/default.profile
index 1c0b2a590..120228105 100644
--- a/profiles/default/default.profile
+++ b/profiles/default/default.profile
@@ -8,7 +8,7 @@
* An array of modules to enable.
*/
function default_profile_modules() {
- return array('color', 'comment', 'help', 'menu', 'taxonomy', 'dblog');
+ return array('block', 'color', 'comment', 'help', 'menu', 'taxonomy', 'dblog');
}
/**
@@ -90,6 +90,11 @@ function default_profile_task_list() {
* modify the $task, otherwise discarded.
*/
function default_profile_tasks(&$task, $url) {
+
+ // Enable 3 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);
+ db_query("INSERT INTO {block} (module, delta, theme, status, weight, region, pages, cache) VALUES ('%s', '%s', '%s', %d, %d, '%s', '%s', %d)", 'system', 'powered-by', 'garland', 1, 10, 'footer', '', -1);
// Insert default user-defined node types into the database. For a complete
// list of available node type attributes, refer to the node type API