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.

Plugins<br />

Tab. 16.7<br />

250<br />

��<br />

��<br />

��<br />

look at <strong>the</strong> page http://twiki.org/cgi-bin/view/Plugins every once in a<br />

while 3 .<br />

As you can see, <strong>the</strong>re are two types of add-ons found <strong>the</strong>re. Generally,<br />

add-ons are independent from <strong>the</strong> existing functionality, and<br />

are executed as independent scripts or small programs. Plugins, on<br />

<strong>the</strong> o<strong>the</strong>r hand, expand <strong>the</strong> possibilities of existing scripts by enabling<br />

additional TWiki formatting elements, for example.<br />

In Tab. 16.7, we have included a list of especially useful and interesting<br />

plugins, to give you an overview of what <strong>the</strong>y can accomplish.<br />

To find a plugin at twiki.org, you have to add “plugin” to<br />

every name:<br />

Name <strong>Function</strong><br />

Calendar Display of a calendar and appointments.<br />

ActionTracker Task planner for a project group.<br />

Database Database access from TWiki.<br />

TWikiDraw Cooperative generation and editing of drawings<br />

(requires Java).<br />

SpreadSheet Spreadsheet in TWiki.<br />

SlideShow Generate and display presentations.<br />

Toc Table of contents of TWiki webs.<br />

Pdf Generates a PDF document from a TWiki page.<br />

Comment Add comments to a page without having to edit it<br />

first.<br />

Peer Enables pages to be evaluated.<br />

Poll Conduct a poll in TWiki.<br />

ProjectPlanner Manage time and scheduling plans for projects.<br />

SectionalEdit Targeted editing of sections (see MediaWiki).<br />

Session Session-based au<strong>the</strong>ntication to circumvent <strong>the</strong><br />

browser's mechanism.<br />

So just how are <strong>the</strong>se plugins accessed? In principle, <strong>the</strong>y simply<br />

add new variables to <strong>the</strong> existing ones. They are inserted in <strong>the</strong> topic<br />

source text, just like normal TWiki variables. A few are already included<br />

in <strong>the</strong> standard installation, so we can test <strong>the</strong> concept right<br />

away using a concrete object. The list of installed plugins is found<br />

on <strong>the</strong> page TWiki.InstalledPlugins. You should also see <strong>the</strong> smilies<br />

plugin here. Edit any page, and add<br />

:cool: and :)<br />

3 The plugins discussed in <strong>the</strong> book can also be found on <strong>the</strong> CD under<br />

/wikis/twiki/plugins.<br />

16 Designing a TWiki

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

Saved successfully!

Ooh no, something went wrong!