Hi there,

First of all thanks for this great module. I have been using it on a few projects so far with great results.
However Im not able to figure out how I can split the pager from the slide(s).
What Id like to achieve is that the node title could be positioned between the slideshow and the thumbnails of the pager.
Any ideas or suggestions how to make this possible?

Best,
Jonathan

Comments

idflood’s picture

Hi,

I can't see an easy way of doing this in a template. But since the slideshow works only if js is enabled doing this in javascript is possible. This kind of thing seems to work:

jQuery("#sidebar-first").append(jQuery("#field-slideshow-1-pager"));

Obviously this needs to be adapted, and the best would be to put that in a behavior. Something like this (untested):

in mytheme/my_js.js

(function($) {
  Drupal.behaviors.my_theme_pager = {
    attach: function(context) {
      $("#sidebar-first").append($("#field-slideshow-1-pager"));
    }
  }
})(jQuery);

Then in mytheme/mytheme.info add this line and after clear the drupal cache:

scripts[] = my_js.js

Let me know if this solve your issue or if you have any problem.

lamp5’s picture

Issue summary: View changes
Status: Active » Closed (outdated)