summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-06-21 18:20:48 +0000
committerDries Buytaert <dries@buytaert.net>2008-06-21 18:20:48 +0000
commita429a6f072bbeea73aee03b41c5396388991d2fc (patch)
tree6d21f63134113a4d7ef9d091ead03c321d017352 /profiles
parent928822d0a9fc3ceb520d13ac2481a7030a9b283f (diff)
downloadbrdo-a429a6f072bbeea73aee03b41c5396388991d2fc.tar.gz
brdo-a429a6f072bbeea73aee03b41c5396388991d2fc.tar.bz2
- Patch #261869 by catch: create default vocabulary for articles.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/default/default.profile6
1 files changed, 6 insertions, 0 deletions
diff --git a/profiles/default/default.profile b/profiles/default/default.profile
index 0edc28387..66c88ed7f 100644
--- a/profiles/default/default.profile
+++ b/profiles/default/default.profile
@@ -133,6 +133,12 @@ function default_profile_tasks(&$task, $url) {
$theme_settings['toggle_node_info_page'] = FALSE;
variable_set('theme_settings', $theme_settings);
+ // Create a default tags vocabulary for articles.
+ $description = st('Tags are used to group your articles into different categories.');
+ $help = st('Enter a comma separated list of words.');
+ db_query("INSERT INTO {vocabulary} VALUES (1, 'Tags', '%s', '%s', 0, 0, 0, 0, 1, 'taxonomy', 0);", $description, $help);
+ db_query("INSERT INTO {vocabulary_node_types} VALUES (1, 'article');");
+
// Update the menu router information.
menu_rebuild();
}