Thanks, Michael! On Wed, Jun 11, 2008 at 2:16 PM, Michael Klier <chi@xxxxxxxxxxx> wrote: > Excerpts from stararmy's message of Wed Jun 11 19:07:41 +0200 2008: >> Remember Google's TOS prohibits Google Ads on pages without content, >> such as "This page hasn't been created yet" pages. This makes it >> unusable on a template, unless you had some way to make it display >> only when the page exists. > > <dokuwiki>/lib/tpl/<template>/main.php: > > <?php if(page_exists($ID)) { ?> > google adsense code goes here > <?php } ?> > > -- > Michael Klier > > www: http://www.chimeric.de > jabber: chi@xxxxxxxxxxxxxxxxxx > key: http://downloads.chimeric.de/chi.asc > key-id: 0x8308F551 > -- > DokuWiki mailing list - more info at > http://wiki.splitbrain.org/wiki:mailinglist > -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist