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.
I've been trying to create a Taxonomy Menu with Custom Path but I have not found where to set it up.
Is this option available for Drupal 8? How can I achieve it?
Comments
Comment #2
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs commentedHi juankvillegas
There isn't any such option in Taxonomy Menu as of now. You will have to use other site building techniques to achieve that.
Thanks.
Comment #3
robertoperuzzoIs there any intention to implement that?
Comment #4
bojanz CreditAttribution: bojanz at Centarro commentedI worked around this by implementing hook_menu_links_discovered_alter().
Here's an example that replaces the default path with a url pointing to a catalog view + facet.
Comment #5
bobemoe CreditAttribution: bobemoe commentedJust spent a while trying to work out how to do this based on "Uses the default taxonomy term path or custom paths" being listed as a feature.
Would be great to see this added. Thanks :) Or at least maybe remove it from the description?
Comment #6
bobemoe CreditAttribution: bobemoe commentedThanks @bojanz I did similar:
Comment #7
DamienMcKennaThat could be a useful feature, but I think we would want test coverage to make sure it worked as expected.