Is there a reason why the parameters array for theme('views_slideshow_pager_field_item') doesn't include $view? I want to use the $view->result property to wrap every 3 pager items in a div element, but am unable to get the total number of results in this theme function. I imagine having the view information here would be beneficial, and since views_slideshow_pager_field_field has it, it probably can't have too much of a performance impact.

Is there another way to get the result count of the current view in this theme function, or load the view in its current state by vss_id or something?

Comments

  • NickWilde committed b7e9acc on 7.x-3.x
    Issue #1409516: Theme function for views_slideshow_pager_field_item...
nickdickinsonwilde’s picture

Issue summary: View changes
Status: Active » Fixed

Added the view to the available variables, thanks. (you know... just 5 years too late sorry)

nickdickinsonwilde’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.