Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As image count can be put on top in the Views UI, please add image counter on top in the template:
So
<?php if ($controls_top || $image_count_top || $breakout_top): ?>
<div class="views-slideshow-controls-top clear-block">
<?php print $controls_top; ?>
<?php print $pager_top; ?>
<?php print $breakout_top; ?>
</div>
<?php endif; ?>
<?php print $slideshow; ?>
<?php if ($breakout_bottom || $controls_bottom || $image_count_bottom): ?>
<div class="views-slideshow-controls-bottom clear-block">
<?php print $breakout_bottom; ?>
<?php print $controls_bottom; ?>
<?php print $image_count_bottom; ?>
</div>
<?php endif; ?>
should be ...
<?php if ($controls_top || $image_count_top || $breakout_top): ?>
<div class="views-slideshow-controls-top clear-block">
<?php print $controls_top; ?>
<?php print $image_count_top; ?>
<?php print $pager_top; ?>
<?php print $breakout_top; ?>
</div>
<?php endif; ?>
<?php print $slideshow; ?>
<?php if ($breakout_bottom || $controls_bottom || $image_count_bottom): ?>
<div class="views-slideshow-controls-bottom clear-block">
<?php print $breakout_bottom; ?>
<?php print $controls_bottom; ?>
<?php print $image_count_bottom; ?>
</div>
<?php endif; ?>
Thanks...
Comment | File | Size | Author |
---|---|---|---|
#3 | 842690-image_count-1.patch | 948 bytes | redndahead |
Comments
Comment #1
intyms CreditAttribution: intyms commentedComment #2
redndahead CreditAttribution: redndahead commentedCommitted. Thanks a lot.
Comment #3
redndahead CreditAttribution: redndahead commentedHere's the patch