Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
would be nice to be able to ignore certain node types (page, article etc) if its not possible with path ignore
Comment | File | Size | Author |
---|---|---|---|
#3 | 634274__clickpath_1.2_ignore_content_types_and_revert_ignores.patch | 2.19 KB | GiorgosK |
#2 | 634274_clickpath_ignore_content_types_and_revert_ignores.patch | 1.73 KB | GiorgosK |
#2 | clickpath.module.txt | 7.48 KB | GiorgosK |
#1 | 634274_clickpath_ignore_content_types.patch | 1.33 KB | GiorgosK |
#1 | clickpath.module.txt | 7.06 KB | GiorgosK |
Comments
Comment #1
GiorgosKand here is a patch that gives you option to ignore by node types
patch against 6x 1.1 version
NOTE: if option is used it will test to see if node should be ignored only when 1) its a node 2) path ignore has not matched (not ignored already)
second module file includes this patch and patch from #328576: Support anonymous user tracking (+ Improve frontpage presentation)
Comment #2
GiorgosKStill some refinement
Some times is so much easier to just choose the paths or content types to allow (instead of ignore)
Thus created an option "REVERT IGNORES to ALLOWS" and when checked, paths and content types indicated are the ONLY allowed, all other pages are ignored
here is a patch against 1.1 version
and the attached module file (second file) includes also the patch from #328576: Support anonymous user tracking (+ Improve frontpage presentation)
Comment #3
GiorgosKHere is a patch for the 1.2 version
please test and report back