[SOLVED] option to hide label of empty filters

More
9 years 10 months ago - 9 years 10 months ago #61765 by germany_bw
Hi

There is an option to hide unavailable values for filters. But I can find an option to deactivate the label when a filter has any values.

It`s possible to integrate this option?
Last edit: 9 years 10 months ago by ggppdk.

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

More
9 years 10 months ago #61767 by micker
no option you need to select filter by categorie and hidde unecessary

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
9 years 10 months ago #61771 by germany_bw
thx for your answer.

Yes, I know, but that is no solution. I have many filters per category and all will be needed with its label.

Only when a filter has any available values, which not be displayed, the label of this filter should also not be displayed.

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

More
9 years 10 months ago #61776 by micker
maybe you can add github issue i think it's a good idea

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
9 years 10 months ago #61779 by germany_bw
Ok, I will add a github issue and try to find a solution. Perhaps, when I can find a solution, you can integrate / change this in fc then.

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

More
9 years 10 months ago #61781 by micker
thanks you can propose pr with pleasure

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
9 years 10 months ago - 9 years 10 months ago #61782 by ggppdk
Actually you imply something about the filter values:

For non-available filter values (having zero item count),
we have 2 options:

- hide (skip them)
- show as disabled

So when both
1. we have enabled option: "Hide non-available values"
2. and zero available filter values are found

then we should also hide (skip) the filter label, since we already have the above parameter option, we do not need to add more option, just use the above one

Added here:
github.com/FLEXIcontent/flexicontent-cck...7cc58f87afc83b6460ae


-- 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 review. Thanks!
Last edit: 9 years 10 months ago by ggppdk.

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

More
9 years 10 months ago #61783 by germany_bw
very much thanks for your very fast and great solution.
It work great. :) :) :) :) :)

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

Moderators: vistamediajoomlacornerggppdk
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
Save