]> gitweb.fluxo.info Git - drupal/muamba.git/commitdiff
Pathauto configuration
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 17 Jan 2012 19:17:13 +0000 (17:17 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 17 Jan 2012 19:17:13 +0000 (17:17 -0200)
features/muamba_interface/muamba_interface.info
features/muamba_interface/muamba_interface.strongarm.inc
features/muamba_interface/muamba_interface.views_default.inc

index b0c6250dcff2a0e5bd17baff918bcbe8ccbdbb92..ef71c07ccc3f48484713e4d5b6b798a91552ce46 100644 (file)
@@ -7,6 +7,7 @@ version = "7.x-0.1"
 dependencies[] = "block"
 dependencies[] = "captcha"
 dependencies[] = "contact"
+dependencies[] = "ctools"
 dependencies[] = "features"
 dependencies[] = "flag"
 dependencies[] = "image"
@@ -16,6 +17,7 @@ dependencies[] = "menu"
 dependencies[] = "og"
 dependencies[] = "page_manager"
 dependencies[] = "panels_mini"
+dependencies[] = "pathauto"
 dependencies[] = "strongarm"
 dependencies[] = "views"
 features[ctools][] = "page_manager:pages_default:1"
@@ -76,6 +78,20 @@ features[variable][] = "logintoboggan_purge_unvalidated_user_interval"
 features[variable][] = "logintoboggan_redirect_on_confirm"
 features[variable][] = "logintoboggan_redirect_on_register"
 features[variable][] = "logintoboggan_unified_login"
+features[variable][] = "path_alias_whitelist"
+features[variable][] = "pathauto_blog_pattern"
+features[variable][] = "pathauto_forum_pattern"
+features[variable][] = "pathauto_node_article_pattern"
+features[variable][] = "pathauto_node_clube_pattern"
+features[variable][] = "pathauto_node_muamba_pattern"
+features[variable][] = "pathauto_node_page_pattern"
+features[variable][] = "pathauto_node_panel_pattern"
+features[variable][] = "pathauto_node_pattern"
+features[variable][] = "pathauto_punctuation_hyphen"
+features[variable][] = "pathauto_taxonomy_term_compartilhamento_pattern"
+features[variable][] = "pathauto_taxonomy_term_pattern"
+features[variable][] = "pathauto_taxonomy_term_tags_pattern"
+features[variable][] = "pathauto_user_pattern"
 features[variable][] = "site_mail"
 features[variable][] = "site_name"
 features[variable][] = "theme_default"
index daee190eb491cbd6a4aba4f188aa33d20b54f0f2..f3de369c1d93e1020a8cf5e6b3af367277f68cc6 100644 (file)
@@ -301,6 +301,109 @@ node/*/edit';
   $strongarm->value = 0;
   $export['logintoboggan_unified_login'] = $strongarm;
 
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_blog_pattern';
+  $strongarm->value = 'blogs/[user:name]';
+  $export['pathauto_blog_pattern'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_forum_pattern';
+  $strongarm->value = '[term:vocabulary]/[term:name]';
+  $export['pathauto_forum_pattern'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_node_article_pattern';
+  $strongarm->value = '';
+  $export['pathauto_node_article_pattern'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_node_clube_pattern';
+  $strongarm->value = 'clube/[node:title]';
+  $export['pathauto_node_clube_pattern'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_node_muamba_pattern';
+  $strongarm->value = 'muamba/[node:title]';
+  $export['pathauto_node_muamba_pattern'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_node_page_pattern';
+  $strongarm->value = '';
+  $export['pathauto_node_page_pattern'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_node_panel_pattern';
+  $strongarm->value = '';
+  $export['pathauto_node_panel_pattern'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_node_pattern';
+  $strongarm->value = 'conteudo/[node:title]';
+  $export['pathauto_node_pattern'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_punctuation_hyphen';
+  $strongarm->value = 1;
+  $export['pathauto_punctuation_hyphen'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_taxonomy_term_compartilhamento_pattern';
+  $strongarm->value = '';
+  $export['pathauto_taxonomy_term_compartilhamento_pattern'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_taxonomy_term_pattern';
+  $strongarm->value = '[term:vocabulary]/[term:name]';
+  $export['pathauto_taxonomy_term_pattern'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_taxonomy_term_tags_pattern';
+  $strongarm->value = '';
+  $export['pathauto_taxonomy_term_tags_pattern'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'pathauto_user_pattern';
+  $strongarm->value = 'pessoas/[user:name]';
+  $export['pathauto_user_pattern'] = $strongarm;
+
+  $strongarm = new stdClass;
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'path_alias_whitelist';
+  $strongarm->value = array(
+    'contact' => TRUE,
+    'node' => TRUE,
+    'taxonomy' => TRUE,
+    'user' => TRUE,
+  );
+  $export['path_alias_whitelist'] = $strongarm;
+
   $strongarm = new stdClass;
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
index 0137aab586f6b3858436640b6a81f9b169e94d8a..5b78935d356dcd97cd543c7b54fba9f662a25b89 100644 (file)
@@ -3736,8 +3736,8 @@ function muamba_interface_views_default_views() {
   $handler->display->display_options['fields']['actions']['empty_zero'] = 0;
   $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0;
   $handler->display->display_options['filter_groups']['groups'] = array(
-    1 => 'OR',
     2 => 'AND',
+    1 => 'OR',
   );
   $handler->display->display_options['defaults']['filters'] = FALSE;
   /* Filter criterion: Usuário: Atual */