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 sumitt2004 on
I am trying to upload a module bxslider from http://drupal.org/project/bxslider_views_slideshow and uploaded through Admin Panel of my website. But it's displaying below error in Module List table:
BxSlider - Views Integration
Requires: Views Slideshow (disabled), Views (missing), Libraries (missing)
Could someone please guide me how to enable BXSLIDER for my website? I am newbie in Drupal.
Comments
You also need to install the
You also need to install the Views and Libraries API modules
commerce_kickstart uses bxslider as well.
For others more advanced with Drupal, Commerce Kickstart uses bxSlider. You can install that profile and inspected how they use it. Here are the relevant files, maybe it helps.
#module: modules/commerce_kickstart/commerce_kickstart_slideshow
/libraries/jquery.bxSlider/bx_styles
#-Theme: commerce_kickstart_theme
scss: profiles/commerce_kickstart/themes/commerce_kickstart_theme/scss
images: profiles/commerce_kickstart/themes/commerce_kickstart_theme/images
#-Libraries: jquery.bxSlider
scss: /profiles/commerce_kickstart/libraries/jquery.bxSlider/bx_styles
omega-kickstart-alpha-default-narrow.scss
Code: profiles/commerce_kickstart/libraries/jquery.bxSlider/source/
jquery.bxSlider.js
pager: true, (was false)
pagerSelector: '#pager', (was null)
# nextImage: '', // string - filepath of image used for 'next' control. ex: 'images/next.jpg'
#- Module commerce_kickstart_slideshow
profiles/commerce_kickstart/modules/commerce_kickstart/commerce_kickstart_slideshow
commerce_kickstart_slideshow.js
/**
* Implements hook_preprocess_page().
*/
function commerce_kickstart_slideshow_preprocess_page(&$vars) {
if ($vars['is_front']) {
drupal_add_library('commerce_kickstart_slideshow', 'bxslider');
}
}
#===========