[Pmwiki-users] space separated list of wiki pages or files doesn't seem to work
Bernhard Weichel in pmwiki-users
pmwiki-users at b-weichel.2in.de
Mon Jun 9 13:36:25 CDT 2003
I started playing with the new page customization. The approach is really
promising even if I was not really sucessfull up to now.
This works:
$HandleBrowseFmt=array($HTMLStartFmt, "file:local/default.browse.php",
"<p>hugo</p>");
This one does not, even if it should deliver the same result if
$Group.brosw.php is not there.
$HandleBrowseFmt= array($HTMLStartFmt, "file:local/\$Group.browse.php
local/default.browse.php", "<p>hugo</p>");
This is my first default.browse.php which works
<html>
<body>
<p>dfeault.browse.php</p>
<table>
<tr>
<td> <?php PrintFmt($pagename, "wiki:\$Group.Menu") ?></td>
<td> <?php PrintFmt($pagename, "function:PrintText") ?></td>
</tr>
</table>
<?php PrintFmt($pagename, "$PageFooterFmt"); ?>
</body>
</html>
The white space separated list of wiki - pages (e.g. "wiki:\Group.Menu
default.Menu") doesn't work either.
<html>
<body>
<p>dfeault.browse.php</p>
<table>
<tr>
<td> <?php PrintFmt($pagename, "wiki:\$Group.Menu default.menu")
?></td>
<td> <?php PrintFmt($pagename, "function:PrintText") ?></td>
</tr>
</table>
<?php PrintFmt($pagename, "$PageFooterFmt"); ?>
</body>
</html>
Am I doing something wrong?
Btw: I can imagine that even page fallback can be implemented by the new
approach.
<?php PrintFmt($pagename, "wiki:\$Group.$Title_$lang $Group.$Title") ?>
However $lang is set ...
Bernhard
More information about the pmwiki-users
mailing list