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.

<strong>the</strong> title bar with <strong>the</strong> toolbar in <strong>the</strong> respective color. The content of<br />

<strong>the</strong> two description boxes “Description” and “Used to…” are displayed<br />

in <strong>the</strong> topic SiteMap, which is integrated in <strong>the</strong> start page of<br />

<strong>the</strong> Main web, among o<strong>the</strong>rs.<br />

Finally, you can determine whe<strong>the</strong>r <strong>the</strong> new web is to be searchable<br />

with <strong>the</strong> search function. Generally, you should permit this.<br />

However, if <strong>the</strong> web contains hidden pages, it is better to exclude it<br />

from searches, since such a search may access <strong>the</strong> hidden pages.<br />

If you now click on Create new web, <strong>the</strong> web will be generated,<br />

and you can now fill it with content. If you use a skin that accesses<br />

WIKIWEBLIST (e.g. Classic), you have to manually add <strong>the</strong> new<br />

web to this variable in TWikiPreferences.<br />

15.1.2<br />

Renaming, Deleting, Archiving<br />

There are no automated scripts for renaming or deleting webs.<br />

Therefore, <strong>the</strong> links to <strong>the</strong> old web must first be updated. Search <strong>the</strong><br />

individual webs for pages containing <strong>the</strong> following entries:<br />

Oldweb.<br />

Oldweb/<br />

Pay attention to <strong>the</strong> closing period or slash, which cause only <strong>the</strong><br />

links to <strong>the</strong> web to be found. You must now change all links found<br />

into Newweb or, if you wish to delete <strong>the</strong> web, remove <strong>the</strong>m. This is<br />

<strong>the</strong> most complex part of <strong>the</strong> job. For <strong>the</strong> sake of completeness, you<br />

should also update <strong>the</strong> entry WIKIWEBLIST in TWikiPreferences.<br />

Then, go to <strong>the</strong> file level and change or delete those directories<br />

containing entries from <strong>the</strong> old webs. You can find <strong>the</strong>m in data,<br />

pub and templates under <strong>the</strong> name of <strong>the</strong> respective web. You're<br />

done!<br />

To archive webs, you only need to pack <strong>the</strong> contents of <strong>the</strong> respective<br />

web directories from data, pub and templates into an archived<br />

file. Under Linux and Cygwin, you can use <strong>the</strong> following<br />

command:<br />

tar czvf ↵<br />

archivpfad/archivname.tar.gz ↵<br />

twikipath/data/web ↵<br />

twikipath/templates/web ↵<br />

twikipath/pub/web<br />

Search<br />

Create<br />

Finding links<br />

Change files<br />

Archiving webs<br />

15.1 Administering Webs �<br />

�<br />

�<br />

221

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

Saved successfully!

Ooh no, something went wrong!