Posted By

mktimes5 on 07/20/13


Tagged

drupal


Versions (?)

Drupal Views Slideshow show pager items as elements


 / Published in: PHP
 

Change the Views Slideshow pager items in

  • elements so that they are easier to style

    1. Grab these TPls from the modules directory and copy them into your theme templates:
    2. views-slideshow-pager-field-item.tpl.php
    3. views-slideshow-pager-field-item.tpl.php
    4.  
    5. Change views-slideshow-pager-field-item.tpl.php to:
    6. <li id="views_slideshow_pager_field_item_<?php print $variables['location']; ?>_<?php print $variables['vss_id']; ?>_<?php print $variables['count']; ?>" class="<?php print $classes; ?>">
    7. <?php print $item; ?>
    8. </li>
    9.  
    10. Change views-slideshow-pager-field-item.tpl.php to:
    11. <ul id="<?php print $widget_id; ?>" class="<?php print $classes; ?>">
    12. <?php print $rendered_field_items; ?>
    13. </ul>

    Report this snippet  

    You need to login to post a comment.