summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-07-06 11:45:59 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-07-06 11:45:59 -0300
commitf6fbc09d9119a74d0445623e56b029ffd8d63895 (patch)
treeb13e1809227d44ca66fea224ab58294d0cf44e6d
parent8a21ccff792c81d3703699f2141a5d38bc1a6da1 (diff)
downloadcalendario-master.tar.gz
calendario-master.tar.bz2
Fixing RSS linksHEADmaster
-rw-r--r--features/calendario_feature/calendario_feature.strongarm.inc4
-rw-r--r--features/calendario_feature/calendario_feature.views_default.inc25
2 files changed, 20 insertions, 9 deletions
diff --git a/features/calendario_feature/calendario_feature.strongarm.inc b/features/calendario_feature/calendario_feature.strongarm.inc
index ae4a3a8..0944887 100644
--- a/features/calendario_feature/calendario_feature.strongarm.inc
+++ b/features/calendario_feature/calendario_feature.strongarm.inc
@@ -279,7 +279,7 @@ function calendario_feature_strongarm() {
'domain' => '',
'prefix' => 'pt-br',
'weight' => '-10',
- 'javascript' => 'Ed5fUqaDeJ7nfqRWW0TUOz9PIhCI7ksxtc2-Ii-xzEo',
+ 'javascript' => 'B9V_LcZYT0-48d6Jyl50RNtopewUk4-QKFkmTQkW_Vg',
);
$export['language_default'] = $strongarm;
@@ -576,7 +576,7 @@ function calendario_feature_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'site_mail';
- $strongarm->value = 'calendario@sarava.org';
+ $strongarm->value = 'contato@calendario.cc';
$export['site_mail'] = $strongarm;
$strongarm = new stdClass();
diff --git a/features/calendario_feature/calendario_feature.views_default.inc b/features/calendario_feature/calendario_feature.views_default.inc
index 227f990..3502c37 100644
--- a/features/calendario_feature/calendario_feature.views_default.inc
+++ b/features/calendario_feature/calendario_feature.views_default.inc
@@ -532,6 +532,7 @@ function calendario_feature_views_default_views() {
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
+ $handler->display->display_options['fields']['path']['absolute'] = TRUE;
$handler->display->display_options['defaults']['sorts'] = FALSE;
/* Critério de ordenação: Conteúdo: Data de publicação */
$handler->display->display_options['sorts']['created']['id'] = 'created';
@@ -1150,6 +1151,7 @@ function calendario_feature_views_default_views() {
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
+ $handler->display->display_options['fields']['path']['absolute'] = TRUE;
$handler->display->display_options['path'] = 'rss/cidade';
$handler->display->display_options['displays'] = array(
'page_1' => 'page_1',
@@ -1682,12 +1684,12 @@ function calendario_feature_views_default_views() {
$handler->display->display_options['style_plugin'] = 'rss';
$handler->display->display_options['row_plugin'] = 'rss_fields';
$handler->display->display_options['row_options']['title_field'] = 'title';
- $handler->display->display_options['row_options']['link_field'] = 'field_address';
+ $handler->display->display_options['row_options']['link_field'] = 'path';
$handler->display->display_options['row_options']['description_field'] = 'body';
$handler->display->display_options['row_options']['creator_field'] = 'name';
$handler->display->display_options['row_options']['date_field'] = 'field_date';
$handler->display->display_options['row_options']['guid_field_options'] = array(
- 'guid_field' => 'field_address',
+ 'guid_field' => 'path',
'guid_field_is_permalink' => 1,
);
$handler->display->display_options['defaults']['fields'] = FALSE;
@@ -1700,6 +1702,7 @@ function calendario_feature_views_default_views() {
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
+ $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
/* Campo: Conteúdo: Quando */
$handler->display->display_options['fields']['field_date']['id'] = 'field_date';
$handler->display->display_options['fields']['field_date']['table'] = 'field_data_field_date';
@@ -1737,11 +1740,12 @@ function calendario_feature_views_default_views() {
'trim_length' => '600',
);
/* Campo: Conteúdo: Endereço */
- $handler->display->display_options['fields']['field_address']['id'] = 'field_address';
- $handler->display->display_options['fields']['field_address']['table'] = 'field_data_field_address';
- $handler->display->display_options['fields']['field_address']['field'] = 'field_address';
- $handler->display->display_options['fields']['field_address']['label'] = '';
- $handler->display->display_options['fields']['field_address']['element_label_colon'] = FALSE;
+ $handler->display->display_options['fields']['path']['id'] = 'path';
+ $handler->display->display_options['fields']['path']['table'] = 'node';
+ $handler->display->display_options['fields']['path']['field'] = 'path';
+ $handler->display->display_options['fields']['path']['label'] = '';
+ $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
+ $handler->display->display_options['fields']['path']['absolute'] = TRUE;
$handler->display->display_options['path'] = 'rss/tag';
$handler->display->display_options['displays'] = array(
'page_1' => 'page_1',
@@ -2334,6 +2338,7 @@ function calendario_feature_views_default_views() {
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
+ $handler->display->display_options['fields']['path']['absolute'] = TRUE;
$handler->display->display_options['path'] = 'rss/tema';
$handler->display->display_options['displays'] = array(
'page_1' => 'page_1',
@@ -2926,6 +2931,7 @@ function calendario_feature_views_default_views() {
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
+ $handler->display->display_options['fields']['path']['absolute'] = TRUE;
$handler->display->display_options['path'] = 'rss/tipo';
$handler->display->display_options['displays'] = array(
'page_1' => 'page_1',
@@ -3456,6 +3462,7 @@ function calendario_feature_views_default_views() {
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
+ $handler->display->display_options['fields']['path']['absolute'] = TRUE;
$handler->display->display_options['path'] = 'widgets/rss';
$handler->display->display_options['displays'] = array(
'page_1' => 'page_1',
@@ -4055,6 +4062,7 @@ function calendario_feature_views_default_views() {
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
+ $handler->display->display_options['fields']['path']['absolute'] = TRUE;
/* Campo: Usuário: Nome */
$handler->display->display_options['fields']['name']['id'] = 'name';
$handler->display->display_options['fields']['name']['table'] = 'users';
@@ -4663,6 +4671,7 @@ function calendario_feature_views_default_views() {
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
+ $handler->display->display_options['fields']['path']['absolute'] = TRUE;
$handler->display->display_options['path'] = 'widgets/rss/tag';
$handler->display->display_options['displays'] = array(
'page_1' => 'page_1',
@@ -5264,6 +5273,7 @@ function calendario_feature_views_default_views() {
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
+ $handler->display->display_options['fields']['path']['absolute'] = TRUE;
$handler->display->display_options['path'] = 'widgets/rss/tema';
$handler->display->display_options['displays'] = array(
'page_1' => 'page_1',
@@ -5865,6 +5875,7 @@ function calendario_feature_views_default_views() {
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
+ $handler->display->display_options['fields']['path']['absolute'] = TRUE;
$handler->display->display_options['path'] = 'widgets/rss/tipo';
$handler->display->display_options['displays'] = array(
'page_1' => 'page_1',