Moonsoft Software Solutions

Separator in list items in detail view

Started 18 May 2014 · 2 replies

  1. moon_1563
    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
  2. Moonsoft support
    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,
  3. moon_1563
    That solves it, thank you!

Still stuck?

Customers with an active license can open a support ticket.

Log in to open a ticket