As in the object: after moving my site from locale machine to production, the slideshow stopped working
I can see only the controls.
I suppose the slideshow is moving in "background" cause of a flickering on the screen and cause of the code in firebug changing every n seconds, but i can see neither image or text.
here the example
http://www.womm.it
(in the front page, between the navbar and the light brown region with 4 blocks, where you can see the 3 control buttons)
Before posting this i tried:
- disabled all the css (in case my floating div messed something) >> no, slideshow still "hidden", even with related css disabled
- switched theme (with and without my css) >> no result
- changed region (miscellaneous try, performed in my custom theme and the default one) >> no result
- disabled and re enabled slideshow, and reconfigured it >> no result
If i switch my view from slideshow to, for example, table, image and text shows again. So I think it's a views slideshow issue.
This is my code (the name "ddblock" is legacy, dynamic display block is not involved in the process anymore)
viewsSlideshow":{"ddblock-block_1":{"methods":{"goToSlide":["viewsSlideshowPager","viewsSlideshowSlideCounter","viewsSlideshowCycle"],"nextSlide":["viewsSlideshowPager","viewsSlideshowSlideCounter","viewsSlideshowCycle"],"pause":["viewsSlideshowControls","viewsSlideshowCycle"],"play":["viewsSlideshowControls","viewsSlideshowCycle"],"previousSlide":["viewsSlideshowPager","viewsSlideshowSlideCounter","viewsSlideshowCycle"],"transitionBegin":["viewsSlideshowPager","viewsSlideshowSlideCounter"],"transitionEnd":[]},"paused":0}},"viewsSlideshowControls":{"ddblock-block_1":{"bottom":{"type":"viewsSlideshowControlsText"}}},"viewsSlideshowCycle":{"#views_slideshow_cycle_main_ddblock-block_1":{"num_divs":4,"id_prefix":"#views_slideshow_cycle_main_","div_prefix":"#views_slideshow_cycle_div_","vss_id":"ddblock-block_1","effect":"scrollHorz","transition_advanced":1,"timeout":5000,"speed":700,"delay":3000,"sync":1,"random":0,"pause":1,"pause_on_click":0,"start_paused":0,"remember_slide":0,"remember_slide_days":1,"pause_when_hidden":0,"pause_when_hidden_type":"full","amount_allowed_visible":"","nowrap":0,"fixed_height":1,"items_per_slide":1,"wait_for_image_load":1,"cleartype":0,"cleartypenobg":0,"advanced_options":"{}","action_advanced":0}},
here's the HTML output:
<!-- ____________________HIGHLIGHTS_____________________ -->
<div id="highlight"> <div class="region region-highlight">
<div id="block-views-ddblock-block_1" class="block block-views contextual-links-region block-even clearfix">
<div class="block-inner">
<div class="contextual-links-wrapper"><ul class="contextual-links"><li class="views-ui-edit first"><a href="/admin/structure/views/view/ddblock/edit/block_1?destination=front">Edit view</a></li>
<li class="block-configure last"><a href="/admin/structure/block/manage/views/ddblock-block_1/configure?destination=front">Configura blocco</a></li>
</ul></div>
<div class="content" >
<div class="view view-ddblock view-id-ddblock view-display-id-block_1 view-dom-id-4">
<div class="view-content">
<div class="skin-default">
<div id="views_slideshow_cycle_main_ddblock-block_1" class="views_slideshow_cycle_main views_slideshow_main"><div id="views_slideshow_cycle_teaser_section_ddblock-block_1" class="views-slideshow-cycle-main-frame views_slideshow_cycle_teaser_section">
<div id="views_slideshow_cycle_div_ddblock-block_1_0" class="views-slideshow-cycle-main-frame-row views_slideshow_cycle_slide views_slideshow_slide views-row-1 views-row-odd">
</div>
<div id="views_slideshow_cycle_div_ddblock-block_1_1" class="views-slideshow-cycle-main-frame-row views_slideshow_cycle_slide views_slideshow_slide views-row-2 views_slideshow_cycle_hidden views-row-even">
</div>
<div id="views_slideshow_cycle_div_ddblock-block_1_2" class="views-slideshow-cycle-main-frame-row views_slideshow_cycle_slide views_slideshow_slide views-row-3 views_slideshow_cycle_hidden views-row-odd">
</div>
<div id="views_slideshow_cycle_div_ddblock-block_1_3" class="views-slideshow-cycle-main-frame-row views_slideshow_cycle_slide views_slideshow_slide views-row-4 views_slideshow_cycle_hidden views-row-even">
</div>
</div>
</div>
<div class="views-slideshow-controls-bottom clearfix">
<div id="views_slideshow_controls_text_ddblock-block_1" class="views-slideshow-controls-text-render views_slideshow_controls_text">
<span id="views_slideshow_controls_text_previous_ddblock-block_1" class="views-slideshow-controls-text-previous views_slideshow_controls_text_previous">Previous</span>
<span id="views_slideshow_controls_text_pause_ddblock-block_1" class="views-slideshow-controls-text-pause views_slideshow_controls_text_pause">Pause</span>
<span id="views_slideshow_controls_text_next_ddblock-block_1" class="views-slideshow-controls-text-next views_slideshow_controls_text_next">Seguente</span>
</div>
</div>
</div>
</div>
</div> </div>
</div>
</div> <!-- /block-inner /block --> </div>
</div>
Any help appreciated, thanks
Simone (Rome)
Comments
Comment #1
chrisjlock commentedThere is no content in your slide div tags, Once I put an image into them using firebug, the only issue I see is that
views_slideshow_cycle_teaser_section_ddblock-block_1 has a height of 0 and overflow hidden so it will not show anything, by setting a height I was able to see my images rotate.
I don't see that you have the height set to 0 anywhere so if you add content to them the height should expand to the height of the first slide on page load.
Hope this helped a bit
Comment #2
midmood commentedPerformed other checks
my content is exactly as the locale version, so visible
my views call the right content.
My view is set to exclude all the fields but the last one
the last field is rewrote to match the html structure and css i decided
I cannot figure out what my problem could be, do you have any idea?
Comment #3
chrisjlock commentedin your view where you rewrite you code, check to make sure that the Replacement pattern matches properly.
for each slide your view is printing out :
Notice there is nothing but spaces between the open and close div tag
Comment #4
midmood commentedthis is my my replacement code
These are the replacement patterns available:
could be some sort of permission problem? server side i mean, maybe the folders containing the module and libraries
Comment #5
midmood commentedafter a painful day i decide to reupèload everything on the server from locale, and now everything works...
anyway i'm upset I don't know what i did wrong (maybe a failed connection during transfer? hardly, cause i didn't get notice about it)
clock, thank for your time
SImone
Comment #6
midmood commentedComment #7
kerios83 commentedI have exactly the same problem... Don't know WTF is going on... All seting are like on localhost and slideshow just don't work. I have checked everything 3x. Hands down...
Comment #8
hkirsman commentedThis is old issue but this is happening for me too now. I even tried top copy the source of the live page, save it locally and creating the domain name exactly like it's on live ( hosts file) and it's working locally. Because I downloaded the source then all the resources are pulled exactly from the same place as the live version. Wow, haven't seen this kind of bug in my long career..
Comment #9
hkirsman commentedFor me the problem was very old module version and new php 7.0.