[Pmwiki-users] space separated list of wiki pages or files doesn't seem to work
Patrick R. Michaud
pmichaud at pobox.com
Mon Jun 9 15:14:43 CDT 2003
Sorry, there was a bug that was causing PmWiki to not recognize multiple
file/wiki page specifications for the file: and wiki: directives.
It's now fixed in pmwiki-0.5.beta3 (just released).
Pm
On Mon, Jun 09, 2003 at 08:36:25PM +0200, Bernhard Weichel in pmwiki-users wrote:
>
> 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
>
>
> _______________________________________________
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
>
More information about the pmwiki-users
mailing list