You are here

function theme_views_slideshow_view_nodes in Views Slideshow 5

Display the nodes of a view as plain nodes.

1 theme call to theme_views_slideshow_view_nodes()
theme_views_slideshow_view_teasers in ./views_slideshow.module
Display the nodes of a view as teasers.

File

./views_slideshow.module, line 262

Code

function theme_views_slideshow_view_nodes($view, $nodes, $type, $teasers = false, $links = true) {
  $items = array();
  foreach ($nodes as $n) {
    $node = node_load($n->nid);
    $items[] = node_view($node, $teasers, false, $links);
  }
  return theme('views_slideshow_slideshow', $view, $nodes, $type, $items);
}