From: Arnaud F. <ar...@cr...> - 2003-12-18 07:41:20
|
Right, Templates would be the best. But you can do something more ... wiki driven :) Le mer 17/12/2003 =E0 21:16, Carsten Klapp a =E9crit : > Yes templates would be the best approach. Add a line into=20 > phpwiki/themes/default/templates/top.tmpl to call your menu template: [...] > <?php // -*-html-*- > $s =3D $Theme->getButtonSeparator(); > ?> > <!-- The menu bar --> > <?=3D WikiLink(_("RecentEdits"), "button") ?> > <?=3D$s?><?=3D WikiLink(_("MyPage"), "button") ?> > <?=3D$s?><?=3D WikiLink(_("AnotherPage"), "button") ?> > <!-- End menu bar --> Here, just define the "hard links" to some pages like the RecenChanges, FindPage, etc. And add a line like this one to your template : <?plugin IncludePage page=3D"Menu" quiet=3D1?> Then, create a wiki page named Menu where you'll just write the Wikiwords and links you want to have in your menu. Then you're free to lock the Menu page or not .... I use this trick to add a "News" box on my wikis. News are taken from the "!News" section of a wiki page. --=20 Arnaud Fontaine Jabber: sh...@ra... ICQ: 3504789 |