Posted by FlemmingLeer on September 27, 2008 at 12:42pm
| Project: | Refine by taxonomy |
| Version: | 5.x-0.1 |
| Component: | Miscellaneous |
| Category: | task |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Currently refine by taxonomy does not work on pages generated by Site map http://drupal.org/project/site_map.
Put this small code in the refine by taxonomy block to prevent it to be shown on pages ending with /all.
<?php
// do not show refine by taxonomy on pages with /all in the end
if ((arg(0) == 'taxonomy') && (arg(1) == 'term') && (arg(3) == 'all')) {
return FALSE;
}
// Otherwise
return TRUE;
?>