From 4e80755397317f821a10d69fc56b6b0308750ba6 Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Wed, 16 Mar 2011 18:53:01 +0000
Subject: [PATCH] [gh-102] Merging from testing into staging

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@566 20a16fea-79d4-4915-8869-1ea9d5ebf173
---
 profiles/unl_profile/unl_profile.info    | 3 +++
 profiles/unl_profile/unl_profile.install | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/profiles/unl_profile/unl_profile.info b/profiles/unl_profile/unl_profile.info
index 4de94b47..313ccc2c 100644
--- a/profiles/unl_profile/unl_profile.info
+++ b/profiles/unl_profile/unl_profile.info
@@ -21,6 +21,9 @@ dependencies[] = field_ui
 dependencies[] = file
 dependencies[] = rdf
 
+dependencies[] = token
+dependencies[] = pathauto
+dependencies[] = pagepreview
 dependencies[] = wysiwyg
 dependencies[] = imce
 dependencies[] = imce_wysiwyg
diff --git a/profiles/unl_profile/unl_profile.install b/profiles/unl_profile/unl_profile.install
index 1a526fb7..2eb5c146 100644
--- a/profiles/unl_profile/unl_profile.install
+++ b/profiles/unl_profile/unl_profile.install
@@ -71,6 +71,10 @@ function unl_profile_install() {
 
   module_disable(array('overlay'));
 
+  // Pathauto setup
+  variable_set('pathauto_node_pattern', '[node:title]');
+  variable_set('pathauto_update_action', 1);
+  
   // Add custom blocks for extra sections of the UNL Template (ie: Contact Us, Footer)
   $block_contents = array();
   $block_contents['contactinfo'] = <<<EOF
-- 
GitLab