Closed (won't fix)
Project:
Views exclude previous
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2011 at 13:17 UTC
Updated:
5 Jul 2012 at 22:04 UTC
I needed to exclude semanticviews rowstyle
--- a/sites/all/modules/contrib/views_exclude_previous/views_exclude_previous.module Thu Dec 08 14:05:24 2011 +0100
+++ b/sites/all/modules/contrib/views_exclude_previous/views_exclude_previous.module Thu Dec 08 14:13:40 2011 +0100
@@ -25,6 +25,8 @@
$cache[$k]['preprocess functions'][] = 'views_exclude_previous_process_fields';
} else if (preg_match('/^views_view_table(__.*)?$/', $k)) {
$cache[$k]['preprocess functions'][] = 'views_exclude_previous_process_table';
+ } else if (preg_match('/^semanticviews_view_fields(__.*)?$/', $k)) {
+ $cache[$k]['preprocess functions'][] = 'views_exclude_previous_process_table';
}
}
}
this works fine for me. Perhaps checking if semantic views is available is nicer, but uses more resources
Comments
Comment #1
kars-t commentedHi
thanks for your patch. Next time please upload a patch file and set it to "needs review". And sorry but I won't change the feature set of the D6 version.
Comment #1.0
kars-t commenteduser data removed