[dokuwiki] Re: only page name (not the whole path) -> maybe plugin???

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 05 Oct 2005 13:51:54 +0100

Chris Smith wrote:

There was an error in my last message. #print_only, should of course be .print_only.
Hi Koko,

You should be able to add something like this in your template ...

in main.php add this line or similar after the <body>

<div class="print_only"><?php echo $ID?></div>

and then style it appropriately.

in layout.css add .print_only {display:none;}
in print.css nothing is required, it should print in default style, you can add styles to have it print how you like.


Cheers,

Chris

-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: