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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Fig. 16.1<br />

Installing new<br />

skins<br />

Adapting <strong>the</strong><br />

menu sidebar<br />

234<br />

��<br />

��<br />

��<br />

Admittedly, <strong>the</strong> selection of skins in <strong>the</strong> standard installation is<br />

ra<strong>the</strong>r sparse. However, you can install additional skins. A list of<br />

current skins can be found under http://twiki.org/cgibin/view/Plugins/SkinPackage.<br />

From <strong>the</strong>re, you can go to <strong>the</strong> respective<br />

page of <strong>the</strong> skin and download an archived file which is<br />

present as an attachment. Unpack <strong>the</strong> file to <strong>the</strong> twiki directory.<br />

Note: The procedure described here may vary somewhat for individual<br />

skins. Thus, you should read <strong>the</strong> installation instructions indicated<br />

for each skin.<br />

Caution: Before you set up a newly installed skin, you should first<br />

test it on a single page to avoid any unpleasant surprises. For instance,<br />

in <strong>the</strong> case of FreeSkin, you must first define <strong>the</strong> edit buttons.<br />

If you forget to do this, you can only obtain <strong>the</strong> edit mode of <strong>the</strong><br />

preferences page directly through <strong>the</strong> URL (edit instead of view).<br />

In <strong>the</strong> Pattern skin, it is relatively easy to put toge<strong>the</strong>r a menu bar. In<br />

every web, <strong>the</strong>re is a topic with <strong>the</strong> name WebLeftBar, which is integrated<br />

into <strong>the</strong> page as a template on <strong>the</strong> left side of <strong>the</strong> article. If<br />

you access <strong>the</strong> page, you will see that a complete copy of <strong>the</strong> menu<br />

sidebar is located <strong>the</strong>re. You can edit that sidebar just as you can any<br />

o<strong>the</strong>r page in <strong>the</strong> TWiki. For example, if you want to add a link to<br />

our homepage, just add <strong>the</strong> line<br />

16 Designing a TWiki

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

Saved successfully!

Ooh no, something went wrong!