Forum
List Manager Support
List Manager supportForums
No se permite escribir sin estar logado. Por favor, login
Separator in list items in detail view 18.05.2014 14:52
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
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
Re: Separator in list items in detail view 19.05.2014 08:57
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,
Moonsoft Team
www.moonsoft.es
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,
Moonsoft Team
www.moonsoft.es