Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By basil.shine on
I want to use ui.draggable in my module.
Im using drupal_ad_js() to add ui libraries. And it gives js errors.
But i dont think that its right. How to add ui libraries?
drupal_add_js('misc/ui/jquery.ui.core.min.js', array('weight' => 5));
drupal_add_js('misc/ui/jquery.ui.widget.min.js', array('weight' => 6));
drupal_add_js('misc/ui/jquery.ui.draggable.min.js', array('weight' => 7));
drupal_add_js('misc/ui/jquery.ui.droppable.min.js', array('weight' => 8));
Comments
somehow like that, i mean
somehow like that, i mean like that.
cheers... MC ;-)
Thank you. You gave me good
Thank you.
You gave me good idea.
And i used this code.