[dokuwiki] Re: Is it possible to hide the 'meta' information at the bottom of pages using syntax?

  • From: Andreas Haerter <list+dokuwiki@xxxxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 14 Apr 2011 22:25:07 +0200

Hi Nick,

Am 14.04.2011 19:56, schrieb Nick Putman:
> There are some pages in my wiki on which I would like to hide the 'meta'
> information, e.g. a page that serves as a contact form.  The 'meta'
> information is in the form "name.txt . Last modified: date by name".  Is
> it possible to hide this information on a page by page basis?

You have to edit the template you are using for this. Open the main.php:

1) Watch out for tpl_pageinfo() which displays the meta-data

2) getID() returns the ID of the page currently viewed. Use someting
like this:
if (getID() !== "contact") {
    tpl_pageinfo();
}

Hope that helps.

-- 
Andreas <http://blog.andreas-haerter.com>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

Other related posts: