Guest
10 Jul 2013 10:38

I have setup a multiple level select field,

I added language variables for the values, but it seems to not support them

those language variables are already in my language override file, and they work just fine with an other simple select field I have

Last Modified: 02 Mar 2014


Konstantin
Total posts: 1,113
11 Jul 2013 01:12

Fixed.


Guest
12 Jul 2013 02:43

I just installed cobalt 8 latest version and tested.

I still have the issue described above.


Konstantin
Total posts: 1,113
12 Jul 2013 04:05

Strange, we checked this and it's work. Values translate after refresh page. Can I check it on your site, provide me access to your site.


Guest
12 Jul 2013 04:17

my fault... I messed up with language override file :O

now it works thank you


Guest
12 Jul 2013 05:01

I tested more deeply,

on my site language variables are being loaded fine for filters module, but not for field ouput

can you check this on your side please?


Konstantin
Total posts: 1,113
12 Jul 2013 05:43

Level labels used only in detailed output template and there they are translated. All works fine.

On your screenshot field value is a separate field output or it's part of title in composite title mode?


Guest
12 Jul 2013 05:49

sorry, i didn't explain myself well..

I wasn't talking about field labels, but about field values

which are not being translated in records list (but which are still translated fine in filters module)

those that you see in the above screenshot are the field values, not the labels


Guest
12 Jul 2013 05:51

Hidden text


Konstantin
Total posts: 1,113
12 Jul 2013 06:08

Ok, I understand, fixed this. You can fix this in this way:

in each output template add string '$level = JText::_($level);'


foreach ($item as $id => $level) { $level = JText::_($level); ... ...

Guest
12 Jul 2013 06:57

thank you.

another question

is somewhat possible to display in field output only the latest level value?

I mean insted of

value level 1 - value level 2 - value level 3

display only

value level 3


Guest
12 Jul 2013 06:59

I just noticed that "selected filter" message does not translate field values (I am still talking about multilevel select field)


Konstantin
Total posts: 1,113
15 Jul 2013 07:56

Fixed.


Guest
15 Jul 2013 09:32

thank you!

what about my other question...

is somewhat possible to display in field output only the latest level value?

I mean insted of

value level 1 - value level 2 - value level 3

display only

value level 3


pepperstreet VIP
Total posts: 3,837
25 Jul 2013 21:16

is somewhat possible to display in field output only the latest level value?

I mean insted of

value level 1 - value level 2 - value level 3

display only

value level 3

is somewhat possible to display in field output only the latest level value?

I mean insted of

value level 1 - value level 2 - value level 3

display only

value level 3

Good point. That option was available in ME Resources field parameters. Would like to see this in Cobalt again.

Should we open a new idea-topic ?


stblink VIP
Total posts: 501
26 Jul 2013 08:35

Sorry for the ignorance, but this isn't already possible?

I mean insted of

value level 1 - value level 2 - value level 3

display only

value level 3


Sackgesicht VIP
Total posts: 1,636
26 Jul 2013 10:00

you need a customized output template which just displays the last level.


Sackgesicht VIP
Total posts: 1,636
26 Jul 2013 12:25

Make a copy of the default.php template from the com_cobalt/fields/multilevelselect/tmpl/output folder

Search for line 37

and change it to

Powered by Cobalt