List Manager Forum

Separator in list items in detail view

User moon_1563 2014-05-18 14:52:59

Hi,

I like your component and I got almost everything working in the way I need it. Only one question is left:
I have a "multiple option (check)" field for languages. In the detail view I get a list like German French English Spanish instead of German, English, French, Spanish.

Is there a way I can configure a separator? I'd like to have either a comma or a br-tag as a separator.

Thanks,
Jonas

Moonsoft support 2014-05-19 08:57:37

Hi,

You should change JOOMLA/components/com_listmanager/assets/js/listmanager.js, line 624:

valTemp=valordato.replace(/#/g, ' ');

with:

valTemp=valordato.replace(/#/g, ', ');

or:

valTemp=valordato.replace(/#/g, '');

Hope this helps. Regards,

User moon_1563 2014-05-19 21:23:19

That solves it, thank you!

...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!
...
CalcBuilder

Create dynamic calculators

Buy now!