Active
Project:
S5 presentation player
Version:
6.x-1.x-dev
Component:
Code - s5_textfield
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2011 at 11:46 UTC
Updated:
13 Aug 2011 at 18:33 UTC
The when creating a slideshow using the textfield method, there's no link to view the slideshow on the page, you need to manually edit the URL.
However, it's pretty easy to create a block that'll give you the link, if you've got the PHP filter enabled, it just needs to contain this code:
echo '<a href="http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'].'/s5/">View as Slideshow</a>';
And you can set it to display on node/* pages.
Comments
Comment #1
hackwater commentedI like this idea; I've been looking at the Drupal Print module for ideas on how to handle slideshow UI. It would make sense to have buttons/links at the bottom of a node. If URL aliases are being used, it might be nice to be able to tack on the slideshow suffix to the alias (or do it as a prefix the way Print module does it) and have that be what the buttons link to.