[Pmwiki-users] Question to new page format variables

Bernhard Weichel in pmwiki-users pmwiki-users at b-weichel.2in.de
Sat Jun 14 01:37:30 CDT 2003

Currently I am following an approach which keeps the entire page generation
process under customization control. I have a default_browse.php mainly
useing PrintFmt.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    <style type='text/css'>
      <div><a href='<?php PrintFmt($pagename, "\$ScriptDir");?>' border="0">
          <img src='<?php PrintFmt($pagename,
          <span style='font-size:60px'>Rittertag</span>
      <div align='right'>
          <?php PrintFmt($pagename, "function:PrintGeneralMenu");?>
    <table width="100%" >
        <td valign="top"  width="150px">
          <div class="menuframe"><?php PrintFmt($pagename,
"wiki:\$Group.Menu default.Menu") ?></div>
        <td valign="top" align="left" >
          <div class="wikiheader"><?php PrintFmt($pagename, "\$Group -
          <div class='wikibody  '><?php PrintFmt($pagename,
"wiki:\$Group.\$Title") ?></div>

This works very fine, the page layout is done in one place and can be edited
through an HTML editor.

Now my questions:

1. does it matter (e.g. is there a performance impact) if I use

   PrintFmt($pagename, "wiki:\$Group.\$Title")    versus

If it doesn't matter, why do we need PrintWikiPage?

2. If I use PrintFmt($pagename, "wiki:\$Group.Menu default.Menu")
   Is there a way to find out which page is actually printed. This is
   since I want to specify e.g. a general link to "Edit Menu" within the


More information about the pmwiki-users mailing list