|
Re: have a "menu" on all pages?: msg#00087web.wiki.phpwiki.talk
Right, Templates would be the best. But you can do something more ... wiki driven :) Le mer 17/12/2003 à 21:16, Carsten Klapp a écrit : > Yes templates would be the best approach. Add a line into > phpwiki/themes/default/templates/top.tmpl to call your menu template: [...] > <?php // -*-html-*- > $s = $Theme->getButtonSeparator(); > ?> > <!-- The menu bar --> > <?= WikiLink(_("RecentEdits"), "button") ?> > <?=$s?><?= WikiLink(_("MyPage"), "button") ?> > <?=$s?><?= 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="Menu" quiet=1?> 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. -- Arnaud Fontaine Jabber: shinobi@xxxxxxxxxxxxxx ICQ: 3504789 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: PHPWIKI crashes Apache2 on windows: 00087, Carsten Klapp |
|---|---|
| Next by Date: | Newbie question: 00087, Peter |
| Previous by Thread: | Re: Newbie questioni: 00087, Steve Wainstead |
| Next by Thread: | PHPWIKI crashes Apache2 on windows: 00087, Peter |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |