Masquer les valeurs sans item dans les filtres

More
11 years 5 months ago #37306 by juansolos
Bonjour,
Mes items ont un champ région et un champ département.

Il semble qu'il ne soit pas possible de créer des champs dont les valeurs dépendent d'un autre champ.
Ex : champ Région -> champ département avec lorsque l'on a sélectionné la région, on a le choix que sur les départements de cette région. (en soumission et front).

Ce qui est bien, c'est que dans les filtres d'un catégories (en front), si je sélectionne une région, les valeurs de mon filtre département deviennent grise "disabled" si il n'y a pas d'item pour ces valeurs.

Ce que je constate c'est lorsque j'arrive sur ma page de la catégorie (sans avoir appliquer aucun filtre), dans mes filtres en liste déroulante seul les valeurs existantes sont affichées.

Question :
est il possible d'une manière générale de n'afficher que les valeurs qui ont des items dans les listes déroulantes?

Merci

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #40188 by juansolos
Bonjour,
on peut cacher les option disabled avec du css mais cela ne fonctionne que pour firefox et chrome.

Comment faire avec ie e autre?

Peut être rajouter un .hide() dans le option disabled?
Ou quelques choses de plus propre?

Regards

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #40195 by ggppdk
Hello

to hide non-available values , a new parameter needs to be added to the field configuration

this could have been added when we added parameter:
"Show matching items"
per filter value


But it was not, and instead we choose to hide the show values as disabled

-- maybe will add this
currently some more work is done on filters


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #40260 by juansolos
Hi.
Ok thanks

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #40288 by ggppdk
Hello,

latest updates

1. fix the disabling of "show item count"
2. Add parameter to select either to "hide" or "disable" unavailable filter values
3. Improve speed of FACETED filters in category / search view (about 2x faster)
4. Add ability to disable FACETED filter for specific filters that do not need to count/disable/hide values thus to get more speed in large sites (+10,000 items per category view or per search view)
5. Further improve the speed of category view, our category view is now highly optimized regardless of the number of items belonging to the category, with the exception of FACETED filters which are somewhat costly ...

new package will be available soon

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #40404 by juansolos
Hello,
thanks.
I will wait the new package.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.410 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline