01.12.2012 Views

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

When you press <strong>the</strong> button, TWiki begins your presentation: It accesses<br />

a template and inserts <strong>the</strong> slide title and contents you have<br />

provided. If you have not yet created your own template, <strong>the</strong> TWiki<br />

presentation template is used, which is defined in <strong>the</strong> topic SlideshowPlugin.<br />

Using <strong>the</strong> included navigation buttons, you can jump<br />

back and forth from slide to slide.<br />

You can exit <strong>the</strong> presentation button via <strong>the</strong> slides with <strong>the</strong> button<br />

End Presentation.<br />

21.3.2<br />

Your Own Template<br />

You most likely do not want to employ <strong>the</strong> TWiki test template for<br />

your presentation, but would ra<strong>the</strong>r use <strong>the</strong> opportunity to create<br />

your own layout. It basically does not matter where you define your<br />

template: You can generate a separate topic for it, or insert <strong>the</strong> template<br />

on <strong>the</strong> page in which your presentation is also located. However,<br />

<strong>the</strong>re should only be one template per topic, since it is integrated<br />

via <strong>the</strong> topic title.<br />

Surround <strong>the</strong> template with <strong>the</strong> variables %STARTINCLUDE%<br />

and %STOPINCLUDE%. Between <strong>the</strong>m, use an HTML table that defines<br />

<strong>the</strong> design of your slide. Thus, for instance, you can define <strong>the</strong><br />

first row as your slide title by inserting <strong>the</strong> logo and <strong>the</strong> placeholder<br />

%SLIDETITLE%.<br />

The following variables are available for <strong>the</strong> template:<br />

Variable Significance<br />

%SLIDETITLE% Slide title.<br />

%SLIDETEXT% Slide text.<br />

%SLIDENUM% Current slide number.<br />

%SLIDEMAX% Number of <strong>the</strong> last slide.<br />

%SLIDENAV% Navigation buttons for <strong>the</strong> “first,” “previous,”<br />

and “next” slide.<br />

%SLIDENAVALL% Navigation buttons for <strong>the</strong> “first,” “previous,”<br />

“next” and “last” slide.<br />

%SLIDENAVFIRST% Navigation button “First slide.”<br />

%SLIDENAVPREV% Navigation button “Previous slide.”<br />

%SLIDENAVNEXT% Navigation button “Next slide.”<br />

%SLIDENAVLAST% Navigation button “Last slide.”<br />

Of course you can also utilize all o<strong>the</strong>r design options of HTML tables,<br />

such as background color, text alignment, and so on.<br />

21.3 Lectures with <strong>the</strong> Presentation Plugin (SlideShow)<br />

Presentation<br />

Tab. 21.1<br />

�<br />

�<br />

�<br />

329

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!