Return to Snippet

Revision: 64293
at July 20, 2013 04:52 by mktimes5


Initial Code
Grab these TPls from the modules directory and copy them into your theme templates:
views-slideshow-pager-field-item.tpl.php
views-slideshow-pager-field-item.tpl.php

Change views-slideshow-pager-field-item.tpl.php to:
<li id="views_slideshow_pager_field_item_<?php print $variables['location']; ?>_<?php print $variables['vss_id']; ?>_<?php print $variables['count']; ?>" class="<?php print $classes; ?>">
  <?php print $item; ?>
</li>

Change views-slideshow-pager-field-item.tpl.php to:
<ul id="<?php print $widget_id; ?>" class="<?php print $classes; ?>">
  <?php print $rendered_field_items; ?>
</ul>

Initial URL

                                

Initial Description
Change the Views Slideshow pager items in <li> elements so that they are easier to style

Initial Title
Drupal Views Slideshow show pager items as  elements

Initial Tags
drupal

Initial Language
PHP