canton
Total posts: 76
26 Авг 2012 02:25

Within the Multi Level Select field the is a param Field Parameters>General Parameters>Level labels

Please explan what this is and how it interacts with the param Parameters>General Parameters>Values constructor

I hope this makes sense

thanks in advance

Последние изменения: 02 Март 2014


Sergey
Total posts: 13,748
26 Авг 2012 06:34

For example you store cars.

BMW

----X Series

---------X5

---------X3

Audi

-----Q Series

---------Q5

When you select in the form you want that first select element had

  • Select car maker -

Second list that is loaded

  • Select Series -

And last one

  • Select Model -

This is what labels are for. You enter there in new lines

Maker

Series

Model


canton
Total posts: 76
26 Авг 2012 14:04

After viewing your instructions and creating some tests i totally understand.

I am amazed after understanding how it works, how simple this is to use which at the same time make it easy to understand the select levels from a registered user point of view while filling out the form.

Thank you very much


canton
Total posts: 76
26 Авг 2012 15:08

Ive just realized that Level Lables show up in "Full article view" is there anyway of hiding them in this view but not submission view?


Sergey
Total posts: 13,748
26 Авг 2012 19:34

Now you have total control over that with field templates. Just change it in the template. Change article full view field template to the same set for article list view template.


pepperstreet VIP
Total posts: 3,837
28 Авг 2012 10:03

Regarding a multi-language site, how do I provide the labels in differnt languages?


Sergey
Total posts: 13,748
28 Авг 2012 21:00

May ne you just use label as key? i have added JText to all label displays.


Sergey
Total posts: 13,748
29 Авг 2012 20:06

What if there are more than 1 field and you would need different labels? All fields use the same JText, right?

It is JText::_($label)

SO if you have label "Model" you just add

MODEL="Модель"

Работает на Cobalt