[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: Fri, 15 Apr 2011 00:38:44 +0200
Hi Nick,
Am 15.04.2011 00:23, schrieb Nick Putman:
> Andreas Haerter wrote:
>> 2) getID() returns the ID of the page currently viewed. Use someting
>> like this:
>> if (getID() !== "contact") {
>> tpl_pageinfo();
>> }
>
> Thanks Andreas. That works fine for the contact page. How would I
> include other pages in this statement (I have about 5 pages I would like
> to exclude the meta info)?
E.g. with the logical AND operator (see
<http://www.php.net/manual/language.operators.logical.php>):
if (getID() !== "contact" &&
getID() !== "foo" &&
getID() !== "bar" &&
getID() !== "foobar") {
tpl_pageinfo();
}
--
Andreas <http://blog.andreas-haerter.com>
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
- Follow-Ups:
- References:
- [dokuwiki] Is it possible to hide the 'meta' information at the bottom of pages using syntax?
- From: Nick Putman
- [dokuwiki] Re: Is it possible to hide the 'meta' information at the bottom of pages using syntax?
- From: Andreas Haerter
- [dokuwiki] Re: Is it possible to hide the 'meta' information at the bottom of pages using syntax?
- From: Nick Putman
- [dokuwiki] Is it possible to hide the 'meta' information at the bottom of pages using syntax?
Other related posts:
- » [dokuwiki] Is it possible to hide the 'meta' information at the bottom of pages using syntax? - Nick Putman
- » [dokuwiki] Re: Is it possible to hide the 'meta' information at the bottom of pages using syntax? - Andreas Haerter
- » [dokuwiki] Re: Is it possible to hide the 'meta' information at the bottom of pages using syntax? - Nick Putman
- » [dokuwiki] Re: Is it possible to hide the 'meta' information at the bottom of pages using syntax? - Andreas Haerter
- » [dokuwiki] Re: Is it possible to hide the 'meta' information at the bottom of pages using syntax? - Nick Putman