[Résolu] filters labels have disappeared

More
11 years 5 months ago - 11 years 5 months ago #37789 by nexteo
since the update component,(v2.0_RC9b_r1601 to v2.0.2_J25_r1680 , the filter name no longer appears in front as I have not changed any paramètre.I 'always get "all" instead of label filter
Do you have an idea ?

Thanks
Last edit: 11 years 5 months ago by nexteo.

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

More
11 years 5 months ago #37792 by ggppdk
Hello,
you do not mention where the label does not appear, inside the form field element used for filter or outside it ?

Because you mention "ALL", i guess you mean inside the form field element as -First option- in the drop down select list, right?

Well the filters now have multi-appearances:
- single select field
- dual select field(range)
- single text field
- dual text field (range)
- single toggle buttons (like radio)
- multiple toggle buttons (like checkbox)
- multiple select field

As workaround you should display enable the display labels of labels (above the filter)

and the filter form is worked again in v2.0.3, i will check to re-enable using the label inside the field


-- 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 5 months ago #37799 by nexteo
Thank you for your reply. I saw the difference, but when I select "filter inside" or "outside of the filter", I get the same result
see pictures

Thanks
Attachments:

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

More
11 years 5 months ago #37801 by ggppdk
Hello,
ok i see i update the title of this forum thread

for your question please apply this fix (and test ...):

edit file:
components/com_flexicontent/classes/flexicontent.fields.php

Find line (about 2042)
Code:
$label_filter = $filter->parameters->get( $isSearchView ? 'display_label_filter_s' : 'display_label_filter_', 0 ) ; // How to show filter label
and change to
Code:
$label_filter = $filter->parameters->get( $isSearchView ? 'display_label_filter_s' : 'display_label_filter', 0 ) ; // How to show filter label

the fix is that 'display_label_filter_' should be 'display_label_filter'


-- 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 5 months ago #37806 by nexteo
Everything works perfectly
Thank you for your help

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.553 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