Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
Hello Forum !

I use Cycle2 slider for a slide show. In a website I am working on, each page should have a slideshow that should be managed by the client. So I made repeatable editable regions within the page.
But, for some reason the images are displayed one below the other. I expected that images would "listen" to that slideshow commands.

Code: Select all
 <div id="slideshow" class="cycle-slideshow"
  data-cycle-speed="2500"
  data-cycle-timeout="4000"
  data-cycle-caption="#alt-caption"
    data-cycle-caption-template="{{alt}}"
  >
      <cms:show_repeatable 'my_slideshow' >
    <img src="<cms:show my_image />" width="" height="" alt="<cms:show my_text />">
      </cms:show_repeatable>
    </div>



I am puzzled, because I made once a gallery, where all the images were behaving as expected.
Any idea why or how?

Thanks in advance

Tanja
Hi Tanja,

I suggest you start with a static markup of the slideshow with a few slides.
Once you can see that it is working fine, *copy* the same code below it (so we have two slideshows) and now retrofit Couch tags in the second version.

Ideally, the generated code of the second instance should be identical to the first instance and should work just the same.

If however, it does not work you can now compare (in Inspect elements or Firebug) the structure of both the slideshows and see what is different.

This is standard debugging technique and should help you zero in on the problem.

Hope this helps.
HI KK,
thanks!

I´ll look for the "trouble" and hopefully find it...I thought I have written couch code wrongly perhaps...



Tanja
Hi KK! Thanks for the troubleshooting tip....
The trouble was not at all couch related, but related to my bit messy code and omitted parenthesis and such...

Anyhow, I LOVE repeatable regions and dynamic folders....
And it is so beautiful that the whole webpage can be "packed" in a single page with Couch :-)
(well ok, this one is not a very complicated one, but still it takes many HTML pages)

Thanks again for the Couch and for the best support ever

Tanja
You are welcome, Tanja :)
I am glad you did not find the troubleshooting too difficult.
5 posts Page 1 of 1