Module Description
Shortens Facets Pretty Paths aliases.


* Removes the term ids from the term aliases. If a machine name is not available yet, there is a fallback to the default term coder, with the term id, to guarantee unicity.
* Multiple values (Facet items) are delimited by a dot, the Facet alias is present only once.

So we have e.g.: /color/black.yellow.red instead of /color/black-1/color/yellow-2/color/red-3

Configuration

* Select the Short pretty paths URL processor for the Facet source
* Select the Taxonomy term machine name pretty paths coder for the Facet if you use this module, or add a field to the vocabulary and declare it in settings.php $settings['facets_short_pretty_paths_field_name'] = 'field_name';

Dependencies

* Facets Pretty Paths
* Optional (since 1.0.0-alpha3) Taxonomy Machine Name

Known limitation
The Taxonomy Machine Name module provides uniqueness for terms from the same vocabulary. Also there is a RTBC issue about Machine names are not generated after enabling module

Related Facet Pretty Paths issues
A contributed solution has been favoured to a patch as: we introduce a potential dependency to Taxonomy Machine Name (https://www.drupal.org/project/facets_pretty_paths/issues/3024640) it requires to override the active_filters service (https://www.drupal.org/project/facets_pretty_paths/issues/2878617)

Project Usage
85
Creation Date
Changed Date
Security Covered
Not Covered By Security Advisory
Version Available
Production
Module Summary
This module solves the issue of shortening Facets Pretty Paths aliases by removing term ids and ensuring uniqueness through machine names.
Data Name
facets_short_pretty_paths

OPENAI CHATBOT

OPENAI CHATBOT

12:25:35
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.