Greetings,

In many cases it is very convenient to have a function that can render a slideshow from a corresponding slideshow node to display it somewhere else (on the static page or in the block). We propose to add the following API function to your module:

function slideshow_render($nid) {
  $node = node_load($nid);
  slideshow_view($node);
  return theme('slideshow', $node->content['slideshow']);
}

Your thoughts? Thank you.

Comments

kkaefer’s picture

Status: Active » Closed (won't fix)

I don't think this is complicated enough to be included in the module.

kkaefer’s picture

Status: Closed (won't fix) » Fixed

Ok, I decided to commit this since there's apparently a need for it. Thanks for the patch.

Status: Fixed » Closed (fixed)

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