Customizing Monobook

Hi Terence,



I love your monobook template and am just working on tweaking it,

which I find very easy, thanks to the default phps you provided with

the package. I am a total php-newbie, though, and would like to see

how your user/navigation.php looks like, in order to learn how to

create internal links to articles within the wiki. Would you be so

kind to let me peep?



Regards,

Robert

Sure, see the attached file; I use the rewrite engine myself, which means my urls are like wikipedia style.

For instance I use <?php echo DOKU_BASE?>about, which is equivalent to http://tatewake.com/wiki/about.

But if I didn't use the rewrite engine, I'd use <?php echo DOKU_BASE?>doku.php?id=about instead, which should be equivalent to http://tatewake.com/wiki/doku.php?id=about.

All links for navigation, toolbox, etc can be direct urls or use php vars, but they're in HTML format, not DokuWiki format.

All you'd have to do for the links in navigation is create a preview page with the links you want to use [[like this]], do a preview, and right-click copy link location, then paste them into navigation.php.

Oh, also, I'm no php expert myself, but as I understand it, you use "<?php" to start php processing, and "?>" to end php processing; all variables start with $, its essentially like Perl, or you could think of it as BASIC.

Hope that helps,

–Terence