"linkslist" cant be translated

More
10 years 6 months ago #51113 by tevez15
Hello,

I have a new project, and I use the "linkslist" field, but I need translate the values, but I cant.

Any help? :D

I change the line 169 from linklist.php from
Code:
$items[] = '<li'.$attr.'>'.$prefix.$name.$suffix.'</li>';

To:
Code:
$items[] = '<li'.$attr.'>'.$prefix.JTEXT::_($name).$suffix.'</li>';

And works with translation vars

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

More
10 years 6 months ago #51116 by micker
please fork flexicontent on github and do a pull request
;)

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
10 years 6 months ago #51121 by ggppdk
Hello

in several fields we are adding a parameter to control this, since in some case it may not be desired to language filter it,

e.g. If you are using item associations, you may NOT want to language filter text fields


-- of course when this parameter is missing, the proper would be to language filter them by default, for a field like, "linklist" or like "select"


will add parameter, in same way as done in other fields, and make default to be "YES, language filter the values"


-- 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.

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