I currently have the following setup: Drupal 7.12, the latest versions of CTools and Panels, Field Slideshow 1.6, and all dependencies enabled.

I have a content type with a multiple value image field. I have overridden the display of this content type's node page via Panels. I have it set to display a field slideshow for that image field, with a circular carousel image pager.

In Field Slideshow 1.6, everything works great. When I tried the latest -dev version, the carousel completely disappeared. I've looked at it with firebug, and for some reason it's not even being rendered.

I'm at a stable point in that I just rolled back to 1.6, but I'm wondering if anyone else can confirm this bug.

Comments

idflood’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks for submitting this issue, I've tried to reproduce the error without success. But I'm not a big panels user so I have certainly missed something. Here is what I did:
- added two image fields to the article node type (unlimited number of values)
- Defined different slideshow settings for teaser and default view mode (carousel pager)
- created a panel, added the two nodes, one in teaser build mode and the other default

While testing I fixed an unrelated issue I think (undefined index: #pager): http://drupalcode.org/project/field_slideshow.git/commitdiff/c37c7d7

Can you give more details about your panels/node/fields setup? If I understand correctly you have defined the field display directly in panels, how?

brycesenz’s picture

In the setup with Panels, try this:

- Override the node page for that content type using panels
- Add just that field to display in the node view, and configure it to use a slideshow. You should easily be able to add just the field from inside the node panel.

Does that reproduce the error?

idflood’s picture

I've followed the instruction given in http://groups.drupal.org/node/92009#comment-291534 to create the node override in panel but still can't reproduce the issue. But while trying this I remembered that I've added a template file in recent dev version of field_slideshow.

Did you ran update.php after updating the module? This should trigger a drupal "clear cache" with recent version of drupal 7 even if there is no update to do on the db. You can also try to manually clear caches, hopefully this should do the trick.

If this doesn't fix the issue, can you show me the current html ouptut of the field slideshow? Any javascript errors?

brycesenz’s picture

Status: Postponed (maintainer needs more info) » Active

I did try running update.php and clearing the caches, but to no effect.

Here is the relevant section of HTML output under Field Slideshow 1.6:

  <div class="pane-content">
    <div class="field field-name-field-tour-image field-type-image field-label-hidden">
      <div class="field-items">
        <div class="field-item even">
          <div id="field-slideshow-1-wrapper" class="field-slideshow-wrapper">
            <div class="field-slideshow field-slideshow-1 effect-fade timeout-12000 with-pager with-controls" style="width:250px; height:200px">
              <div class="field-slideshow-slide field-slideshow-slide-1 even first">
                <img class="field-slideshow-image field-slideshow-image-1" typeof="foaf:Image" src="http://<IMAGE>.JPG" alt="" width="250" height="200" />                          
              </div>
              <div class="field-slideshow-slide field-slideshow-slide-2 odd" style="display:none;">
                <img class="field-slideshow-image field-slideshow-image-2" typeof="foaf:Image" src="http://<IMAGE>.JPG" alt="" width="250" height="200" />              
              </div>
             <div class="field-slideshow-slide field-slideshow-slide-3 even last" style="display:none;">
               <img class="field-slideshow-image field-slideshow-image-3" typeof="foaf:Image" src="http://<IMAGE>.JPG" alt="" width="250" height="200" />              
             </div>
           </div>
           <div id="field-slideshow-1-carousel-wrapper" class="field-slideshow-carousel-wrapper">
             <div id="field-slideshow-1-carousel" class="field-slideshow-carousel">
               <div class="item-list">
                 <ul id="field-slideshow-1-pager" class="field-slideshow-pager slides-3">
                   <li class="first"><a href="#"><img class="field-slideshow-thumbnail field-slideshow-thumbnail-1" typeof="foaf:Image" src="http://<IMAGE>.JPG" alt="" /></a></li>
                   <li><a href="#"><img class="field-slideshow-thumbnail field-slideshow-thumbnail-2" typeof="foaf:Image" src="http://<IMAGE>.JPG" alt="" /></a></li>
                   <li class="last"><a href="#"><img class="field-slideshow-thumbnail field-slideshow-thumbnail-3" typeof="foaf:Image" src="http://<IMAGE>.JPG" alt="" /></a></li>
                 </ul>
               </div>
             </div>
             <a href="#" class="carousel-prev"></a>
             <a href="#" class="carousel-next"></a>
           </div>
         </div>
       </div>
     </div>
   </div>
 </div>

And here is that same section under Field Slideshow -dev (latest version):

  <div class="pane-content">
    <div class="field field-name-field-tour-image field-type-image field-label-hidden">
      <div class="field-items">
        <div class="field-item even">
          <div id="field-slideshow-1-wrapper" class="field-slideshow-wrapper">
            <div class="field-slideshow field-slideshow-1 effect-fade timeout-12000 with-pager with-controls" style="width:250px; height:200px">
              <div class="field-slideshow-slide field-slideshow-slide-1 even first">
                <img class="field-slideshow-image field-slideshow-image-1" typeof="foaf:Image" src="http://<IMAGE>.JPG" alt="" width="250" height="200" />
              </div>
              <div class="field-slideshow-slide field-slideshow-slide-2 odd" style="display:none;">
                <img class="field-slideshow-image field-slideshow-image-2" typeof="foaf:Image" src="http://<IMAGE>.JPG" alt="" width="250" height="200" />
              </div>
              <div class="field-slideshow-slide field-slideshow-slide-3 even last" style="display:none;">
                <img class="field-slideshow-image field-slideshow-image-3" typeof="foaf:Image" src="http://<IMAGE>.JPG" alt="" width="250" height="200" />
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>

As you can see, the HTML for the slideshow carousel section is simply not being produced. This was a direct upgrade as well (i.e. I produced the 1.6 output, switched to the -dev version, ran updates and cron several times, then copied the -dev output).

kristen pol’s picture

Title: Dev Version breaks Carousel Pager in panels » Dev version breaks Carousel Pager when using Panels

I can confirm that I saw this behavior too and am using Panels. Upgrading to -dev causes pager thumbnails to disappear (used to say "undefined" but doesn't anymore).

idflood’s picture

@brycesenz & @Kristen Pol: Have you tried to reconfigure the field_slideshow settings after updating the module? Does it work with other pagers?
Oh, and I recently committed something about the pager position, with some luck it also fixed this... http://drupalcode.org/project/field_slideshow.git/commitdiff/42b656e5ea4...

idflood’s picture

Since I can't reproduce the issue maybe it would be easier if someone facing this issue can make a zip file with the drupal files and a database export. You can either send me the file directly by pm or link them here. That would make debugging this much more easier.

kristen pol’s picture

I haven't gotten back to this yet... been working on other projects... :/ I hope to get back to it at some point in the near-ish future but might not happen for a month... hope it just "works".

lamp5’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)