jimie VIP
Total posts: 531
28 Март 2014 20:16

Hello guys

What do you think about implementing this jquery plugin into cobalt8 ?

http://harvesthq.github.io/chosen/

I think it will rock as Joomla 3.x also uses it, and have it integrated already

rgds

Последние изменения: 01 Апр 2014


jimie VIP
Total posts: 531
28 Март 2014 20:39

I joomla seams you need to call it with

<?php JHtml::_('formbehavior.chosen', '.chosen'); ?>


Sergey
Total posts: 13,748
31 Март 2014 05:28

You mean for select and multiple select fields?


jimie VIP
Total posts: 531
31 Март 2014 08:12

Yes that what I mean


Sergey
Total posts: 13,748
31 Март 2014 08:58

I see. We did not use it, because if value length is longer ther choosen style, it simply hides the rest which was considered as bug for users who felt into this situation.

I have added separate parameter for that into both fields.


jimie VIP
Total posts: 531
31 Март 2014 09:27

So you are saying that it`s possible now to use that ? on elect and multiple select fields?


Sergey
Total posts: 13,748
31 Март 2014 15:12

I am saying that on next Cobalt update you will find special parametr in the fields "Apply chosen". If yes than <?php JHtml::_('formbehavior.chosen', '.chosen'); ?> will be loaded. But only for that field.


pepperstreet VIP
Total posts: 3,837
31 Март 2014 16:43

Sergey I am saying that on next Cobalt update you will find special parametr in the fields "Apply chosen". If yes than &lt;?php JHtml::_('formbehavior.chosen', '.chosen'); ?&gt; will be loaded. But only for that field.

Does it work with "Add your own variant" feature?

(As far as I know, original chosen was not able to get/add own values. But it was modified for Joomla.)


Sergey
Total posts: 13,748
01 Апр 2014 12:29

pepperstreet Does it work with "Add your own variant" feature?

No. Only standard variant.

Работает на Cobalt