Hello,

I created views carousel slideshow block using the bootstrap theme. 

https://docs.google.com/document/d/1rOrdPHy_Ev8OPn7ue_pzgQ6CCrd66u4sx92s...

I can see the block but not the slideshow. 

I inspected the page in chrome and got this:

<section class="views-element-container contextual-region block block-views block-views-blocktest-slider-block-1 clearfix" id="block-views-block-test-slider-block-1">
  
      <h2 class="block-title">Test Slider</h2>


      <div class="form-group"><div class="contextual-region view view-test-slider view-id-test_slider view-display-id-block_1 js-view-dom-id-d7e4588791784aa921f76fe2d11d0761cd1470d6ab29879a94065b5e7b2b77ed">
  
    <div data-contextual-id="entity.view.edit_form:view=test_slider:location=block&amp;name=test_slider&amp;display_id=block_1&amp;langcode=en" data-contextual-token="dr6ZgpDx5AeIn-JHOD3BDNduBGXmJDzYWSLY7ac_dcE" class="contextual"><button class="trigger focusable visually-hidden" type="button" aria-pressed="false">Open  configuration options</button><ul class="contextual-links links" hidden=""><li class="entityviewedit-form"><a href="/admin/structure/views/view/test_slider/edit/block_1?destination=/node/191">Edit view</a></li></ul></div>
      
      <div class="view-content">
      
<div id="views-bootstrap-test-slider-block-1" class="carousel slide" data-interval="5000" data-ride="carousel" data-pause="hover">
      <ol class="carousel-indicators">
                          <li class="" data-target="#views-bootstrap-test-slider-block-1" data-slide-to="0"></li>
                          <li class="" data-target="#views-bootstrap-test-slider-block-1" data-slide-to="1"></li>
                          <li class="" data-target="#views-bootstrap-test-slider-block-1" data-slide-to="2"></li>
                          <li class="" data-target="#views-bootstrap-test-slider-block-1" data-slide-to="3"></li>
        </ol>
  
    <div class="carousel-inner">
                    <div class="carousel-item active">
        
                                <div class="carousel-caption d-none d-md-block">
                                        <h3><a href="/7910-richmond-hwy-0" hreflang="en">7910 Richmond Hwy</a></h3>
                                                </div>
                            </div>
                    <div class="carousel-item ">
        
                                <div class="carousel-caption d-none d-md-block">
                                        <h3><a href="/6754-richmond-hwy" hreflang="en">6754 Richmond Hwy</a></h3>
                                                </div>
                            </div>
                    <div class="carousel-item ">
        
                                <div class="carousel-caption d-none d-md-block">
                                        <h3><a href="/6303-richmond-hwy-0" hreflang="en">6303 Richmond Hwy</a></h3>
                                                </div>
                            </div>
                    <div class="carousel-item ">
        
                                <div class="carousel-caption d-none d-md-block">
                                        <h3><a href="/test-1" hreflang="en">test 1</a></h3>
                                                </div>
                            </div>
      </div>
        <a class="carousel-control-prev" href="#views-bootstrap-test-slider-block-1" role="button" data-slide="prev">
      <span class="carousel-control-prev-icon" aria-hidden="true"></span>
      <span class="sr-only">Previous</span>
    </a>
    <a class="carousel-control-next" href="#views-bootstrap-test-slider-block-1" role="button" data-slide="next">
      <span class="carousel-control-next-icon" aria-hidden="true"></span>
      <span class="sr-only">Next</span>
    </a>
  </div>
    </div>
  
          </div>
</div>

  </section>

Please advise!

Comments

vm’s picture

I assume you mean the following theme: https://www.drupal.org/project/bootstrap if no please provide a link

if above assumption is correct: is https://www.drupal.org/project/views_bootstrap also in use? If yes, which version?

drupol’s picture

Extend page shows this:

Views Bootstrap 4 Allows for different styles to be used in views to work with Bootstrap 4 components.

Machine name: views_bootstrap

Version: 8.x-4.3

Requires: 

  • Views
  • Filter
  • User
  • System

Help

Bootstrap theme is correct. 

drupol’s picture

Just enabled views slideshow module. I have the same issue. Its not sliding. I can only see the first slide but the source codes shows all the nodes.

drupol’s picture

Console JS:

xxxxxlesaler6.xxxxxcheaperxxxxxain.com/:1 Refused to apply style from 'http://xxxxxlesaler6.xxxxxcheaperxxxxxain.com/themes/subBootTheme/js/xxx...' because 
its MIME type ('application/javascript') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
json2.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
jquery.hoverIntent.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
jquery.cycle.all.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
jquery.hoverIntent.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
jquery.cycle2.min.js?v=1.x:6 [cycle2] --c2 init--
jquery.cycle2.min.js?v=1.x:6 [cycle2] cycle-paused
jquery.cycle2.min.js?v=1.x:6 [cycle2] cycle-resumed
jquery.cycle2.min.js?v=1.x:6 [cycle2] cycle-paused
jquery.cycle2.min.js?v=1.x:6 [cycle2] cycle-resumed
jquery.cycle2.min.js?v=1.x:6 [cycle2] cycle-paused
jquery.cycle2.min.js?v=1.x:6 [cycle2] cycle-resumed
jquery.cycle2.min.js?v=1.x:6 [cycle2] cycle-paused
jquery.cycle2.min.js?v=1.x:6 [cycle2] cycle-resumed
xxxxxlesaler6.xxxxxcheaperxxxxxain.com/:1 Refused to apply style from 'http://xxxxxlesaler6.xxxxxcheaperxxxxxain.com/themes/subBootTheme/js/xxx...' because its 
MIME type ('application/javascript') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

drupol’s picture

I had a blank js file. I just deleted it. 

Errors now:

GET http://xxxxxsaler6.xxxxxcheaperxxxxxain.com/libraries/json2/json2.js?v=2 net::ERR_ABORTED 404 (Not Found)
xxxxxsaler6.xxxxxcheaperxxxxxain.com/:780 
GET http://xxxxxsaler6.xxxxxcheaperxxxxxain.com/libraries/jquery.cycle/jquer... net::ERR_ABORTED 404 (Not Found)
xxxxxsaler6.xxxxxcheaperxxxxxain.com/:782 
GET http://xxxxxsaler6.xxxxxcheaperxxxxxain.com/libraries/jquery.hoverIntent... net::ERR_ABORTED 404 (Not Found)
jquery.cycle2.min.js?v=1.x:6 [cycle2] --c2 init--

drupol’s picture

Searched for json2, jquery hoverIntent, and  jquery cycle library and placed them at the corresponding directories per the error message.  I fixed all the errors. Now views slideshow is working. However, bootstrap carousel is not working.  Console shows this "jquery.min.js?v=3.4.1:2 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated ".

I will just use the views slideshow instead.