To be able to theme the "Previous" and "Next" controls text on a Views Slideshow with template preprocess functions, we need to make the text available as variables to the preprocess functions and the template files. A patch for this feature is available in the comments.

Preprocess Functions

template_preprocess_views_slideshow_controls_text_previous
template_preprocess_views_slideshow_controls_text_next

Template Files

theme/views-slideshow-controls-text-next.tpl.php
theme/views-slideshow-controls-text-previous.tpl.php
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tyler.frankenstein’s picture

Status: Active » Needs review
FileSize
2.01 KB

Here's the patch for this feature.

tyler.frankenstein’s picture

Issue summary: View changes

Adjusted description to have better formatting.

amangoel’s picture

Issue summary: View changes

theme applied on "previous" and "next" but not on "resume" and "pause" link

NickDickinsonWilde’s picture

Status: Needs review » Closed (outdated)

I'd suggest just overriding the template in your theme or module.