Daya Bay Reactor Neutrino Experiment TWiki > SlideShowPlugin Daya Bay webs:
Public | 中文 | Internal | Help

Log In or Register

Slide Show Plugin

Create web based presentations based on topics with headings.


There is already a defacto standard for presentations, why this plugin? This plugin makes sense for organizations that do already have lots of content in TWiki: It is easy to create a web based presentation that contains many links to related content. The plugin does not try to compete with the bells and whistles of the other presentation program, but compelling interactive presentations can be made using the TML (TWiki Markup Language) and plugins, such as TWiki:Plugins.ChartPlugin, TWiki:Plugins.GaugePlugin, TWiki:Plugins.SpreadSheetPlugin, TWiki:Plugins.TWikiDrawPlugin.

Any topic with headings can be converted into a slideshow. Each slide starts with a "---++" heading. There are two modes to view a topic:

You can start the presentation by clicking on the "Start presentation" button.


While in presentation mode you can move around slides using navigation buttons and keys:

Button Key Action
first.gif Home Go to first slide
prev.gif Left-arrow, Page-up Go to previous slide
next.gif Right-arrow, Page-down Go to next slide
last.gif End Go to last slide
endpres.gif Esc End presentation

Slide navigation is quick because it is done using anchor jumps within the same page. Key-based navigation requires JavaScript enabled.

Syntax Rules

How to Create a Slideshow

How to Link to Slides

The %SLIDESHOWSTART% renders as a startpres.gif button. This is the default way to link to the slideshow.

Slides have anchors names Slide_1, Slide_2, Slide_3, etc. For example, write [[#Slide_3][Silly Introduction]] to link to slide 3 of the presentation on the current topic in page view mode, which renders as Silly Introduction.

Write [[%SCRIPTURL{view}%/%WEB%/%TOPIC%?slideshow=on;skin=print#Slide_3][Silly Introduction]] to link to a specific slide in presentation mode, which renders as Silly Introduction.

How to Create Your own Slide Template

To create your own template topic, copy the "Default Slide Template" section below into your own slide template topic and customize it to your needs. It can be activated as the default template in the plugin's TEMPLATE setting, or per slideshow with the %SLIDESHOWSTART{ template="MyOwnSlideTemplate" }% setting.


This is a short example of a slideshow. You should see a "Start presentation" button if this plugin is installed:

Start Presentation

Slide 1: Silly Sample Slideshow

By TWiki:Main.PeterThoeny

San Jose, 2012-04-07

Slide 2: Agenda

Slide 3: Silly Introduction


Slide 4: Silly Feature

Slide 5: Silly Conclusion

This text is not part of the slideshow

Default Slide Template

The part between the rulers defines the default format of a slide:

TWiki Slide Show
COPYRIGHT © 2023 by the contributing authors

SlideShowPlugin Global Settings

Show details toggleopen.gif Hide details toggleclose.gif

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %SLIDESHOWPLUGIN_SHORTDESCRIPTION%

Plugin Installation Instructions

This plugin is pre-installed. TWiki administrators can upgrade the plugin as needed on the TWiki server.

Show details toggleopen.gif Hide details toggleclose.gif

Plugin Info

Plugin Author: TWiki:Main.PeterThoeny
Copyright: © 2002-2013 Peter Thoeny, External link mark
© 2002-2013 TWiki:TWiki.TWikiContributor
License: GPL (GNU General Public License External link mark)
Plugin Version: 2013-01-07
Show Change History toggleopen.gif Hide Change History toggleclose.gif
2013-04-07: TWikibug:Item7216: Change default slide template from table layout to div layout; add Slide_N anchors for easy linking to specific slides; fix JS so that arrow key navigation works on Safari browser
2013-01-13: TWikibug:Item7091: Use TWISTY in plugin settings section, installation instructions and change history
2012-11-14: TWikibug:Item7020: Categorize TWiki Variables SLIDESHOWSTART, SLIDESHOWEND
2012-09-05: TWikibug:Item6837: Doc fixes
2011-08-08: TWikibug:Item6789: Better error handling in SLIDESHOWSTART variable
2011-07-09: TWikibug:Item6725: Change global package variables from "use vars" to "our"
2010-12-28: TWikibug:Item6626: New slide navigation using keys: Home, Left-arrow, Page-up, Right-arrow, Page-down, End and Esc
2010-05-16: TWikibug:Item6433: Doc improvements
02 Aug 2008: Fixed corruption of preview
29 Sep 2007: Added VarSLIDESHOWSTART and VarSLIDESHOWEND to have them listed in TWikiVariables
12 Feb 2007: fixed construction of view urls (TWiki:Main/MichaelDaum)
19 Nov 2006: 12011: Preserve URL parameters in slideshow (suggested by TWiki:Main/ThomasWeigert); changed logo in default template to T-logo; fixed warning errors introduced by 1.005
16 Mar 2005: 1.005 Crawford Currie prepped for Dakar, and fixed multiple evaluation bug
21 Nov 2004: 1.004 Added support for %SLIDECOMMENT% template keyword (TWiki:Main/ArthurClemens); added benchmarks
21 Mar 2004: Internal change: Fixed unofficial function call
14 Dec 2002: Added %SLIDENAVALL% template keyword; added HIDECOMMENTS setting
23 Nov 2002: Added %SLIDENAVLAST% template keyword; using print Skin for presentation mode
19 Nov 2002: Added "Start presentation" and "End presentation" buttons; added %SLIDENAVFIRST%, %SLIDENAVPREV%, %SLIDENAVNEXT% template keywords
17 Nov 2002: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
TWiki:Plugins/Benchmark: GoodStyle 98%, FormattedSearch 99%, SlideShowPlugin 99%
Plugin Home:

Related Topics: VarSLIDESHOWSTART, VarSLIDESHOWEND, TWikiPreferences, TWikiPlugins

Revision: r14 - 2013-04-08 - 08:20:30 - TWikiContributor

Copyright © 1999-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on at TWiki:TWiki.SlideShowPlugin.