aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-01-17 17:17:13 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-01-17 17:17:13 -0200
commit2d4a3c7fef67ba5692d5426054aa9ed1d36befdc (patch)
treed6117f8f5ea2c892fe1944f639b30e97983e599f
parent98772d184d617610f7fa01080c80aad5b8e5db07 (diff)
downloadmuamba-2d4a3c7fef67ba5692d5426054aa9ed1d36befdc.tar.gz
muamba-2d4a3c7fef67ba5692d5426054aa9ed1d36befdc.tar.bz2
Pathauto configuration
-rw-r--r--features/muamba_interface/muamba_interface.info16
-rw-r--r--features/muamba_interface/muamba_interface.strongarm.inc103
-rw-r--r--features/muamba_interface/muamba_interface.views_default.inc2
3 files changed, 120 insertions, 1 deletions
diff --git a/features/muamba_interface/muamba_interface.info b/features/muamba_interface/muamba_interface.info
index b0c6250..ef71c07 100644
--- a/features/muamba_interface/muamba_interface.info
+++ b/features/muamba_interface/muamba_interface.info
@@ -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"
diff --git a/features/muamba_interface/muamba_interface.strongarm.inc b/features/muamba_interface/muamba_interface.strongarm.inc
index daee190..f3de369 100644
--- a/features/muamba_interface/muamba_interface.strongarm.inc
+++ b/features/muamba_interface/muamba_interface.strongarm.inc
@@ -304,6 +304,109 @@ node/*/edit';
$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;
$strongarm->name = 'site_mail';
$strongarm->value = 'muamba@sarava.org';
$export['site_mail'] = $strongarm;
diff --git a/features/muamba_interface/muamba_interface.views_default.inc b/features/muamba_interface/muamba_interface.views_default.inc
index 0137aab..5b78935 100644
--- a/features/muamba_interface/muamba_interface.views_default.inc
+++ b/features/muamba_interface/muamba_interface.views_default.inc
@@ -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 */