- Posts: 17
- Thank you received: 0
Mootools and chosen
9 years 5 months ago #267024
by mindgem
Mootools and chosen was created by mindgem
When enabling chosen library Hikashop still loads mootools?
Any way to override this update save?
Any way to override this update save?
Please Log in or Create an account to join the conversation.
9 years 5 months ago #267026
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Mootools and chosen
Hello,,
I'm sorry but I don't see the link between "chosen" and "mootools".
Regards,
I'm sorry but I don't see the link between "chosen" and "mootools".
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
9 years 5 months ago #267081
by mindgem
Replied by mindgem on topic Mootools and chosen
Chosen.js was based on mootools in hte past in Joomla. Now it has a jquery version.
When I enable chosen in the background of Hikashop it loads Mootools. Disable and no Mootools is loaded
When I enable chosen in the background of Hikashop it loads Mootools. Disable and no Mootools is loaded
Please Log in or Create an account to join the conversation.
9 years 5 months ago #267083
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Mootools and chosen
Hello,
When you use the setting "force chosen", HikaShop will call these Joomla functions
Here the Joomla reference :
developer.joomla.org/joomlacode-archive/issue-31159.html
So, you're right that, since Joomla 3.3.x the inclusion of "behavior.framework" is no longer required.
Now you can do not use that setting and include chosen directly in your template ; it will have the same final effect.
We will see to add a patch for the next release.
Regards,
When you use the setting "force chosen", HikaShop will call these Joomla functions
Code:
JHTML::_('behavior.framework');
JHtml::_('formbehavior.chosen', 'select');
So, you're right that, since Joomla 3.3.x the inclusion of "behavior.framework" is no longer required.
Now you can do not use that setting and include chosen directly in your template ; it will have the same final effect.
We will see to add a patch for the next release.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
9 years 5 months ago #267131
by mindgem
Replied by mindgem on topic Mootools and chosen
Great thanks!
Please Log in or Create an account to join the conversation.
Time to create page: 0.217 seconds