Language filter the field filter label

More
11 years 3 months ago #46097 by marc.light
The more I play with FLEXIContent and the more I like it, powerful stuff, thanks again for this great component.

I'm using FLEXIcontent version 2.1.3 r1857 with Joomla 3.2 for a multilingual site using the core functionality of Joomla.

I translated the field using overrides in the Joomla language manager. Everything works as it should, all good.

The problem I'm having is in the category view when I have a filter using a field it does not use the overrides and displays the variable instead.

Can this be fixed? Thanks for your help.

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

More
11 years 2 months ago #46123 by ggppdk
Hello

you mean

e.g.
the drop down selection of filtering values ?

do they show properly in item form ?


-- 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 2 months ago #46206 by marc.light
I mean the name of the field, the label.

Number of rooms: (dropdown with options 1 to 5)

Instead of displaying "Number of rooms" it displays the name of the variable FLEXI_FIELD_ROOMS

In the form in the backend and in the item description in the frontend, it's all good.

For the values in the dropdown, I did not try, it's all numbers.

I was able to work around this issue with CSS, label display: none and field:before content "label" with a class for each language.

Thanks.

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

More
11 years 2 months ago #46240 by ggppdk
Hello

will commit a fix:

to patch your current installation, edit
components/com_flexicontent/models/category.php
find:
Code:
// Create filter parameters foreach ($filters as $filter) { $filter->parameters = FLEXI_J16GE ? new JRegistry($filter->attribs) : new JParameter($filter->attribs); $filter->label = JText::_($filter->label); }
and replace with:
Code:
// Create filter parameters, label, etc foreach ($filters as $filter) { $filter->parameters = FLEXI_J16GE ? new JRegistry($filter->attribs) : new JParameter($filter->attribs); $filter->label = JText::_($filter->label); }

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 2 months ago #46305 by marc.light
Thanks a lot. Great support!

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

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