I am using facet search on my site. The search paths for taxonomy term facets are of the pattern "search/term-name", but I would like them to be of the pattern "search/term-tid".
Is this possible? How can I change this?
I am using facet search on my site. The search paths for taxonomy term facets are of the pattern "search/term-name", but I would like them to be of the pattern "search/term-tid".
Is this possible? How can I change this?
There is a version for Drupal 6 here: Taxonomy menu with custom path for taxonomy terms
However, it uses hook_term_path
, which in Drupal 7 has been replaced by hook_entity_info_alter
.
Too see note of how to convert this from Drupal 6 to Drupal 7, see guidelines on Drupal.org about Converting 6.x modules to 7.x