[pmwiki-users] PmWiki 2.1.7 released

Roman romat2 at gmail.com
Thu Jun 1 10:51:17 CDT 2006


Thanks. Another question I have is how to change the default home page
name. You already answered it on April 19 (subject: Question about
Links). I modifed $PagePathFmt to
array('{$Group}.$1','$1.{$DefaultName}','$1.$1') but it does not work.
I always get Group.Group instead of expected Group.HomePage.

Roman

On 6/1/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Thu, Jun 01, 2006 at 05:01:40PM +0200, Roman wrote:
> > > --> Added 'group home page' syntax: A group name followed
> > > by only a dot or slash is now automatically treated as a
> > > reference to the group's home page, whatever it happens to be.
> > > This simplifies some pagelist templates as well as a number
> > > of other items. In particular, group links in pagelist
> > > output now points to the correct locations (instead of
> > > being a page in the current group).
> >
> > This is really cool, thank you. I have a small question. I tried both
> > [[Main/]] and [[Main.]]. The difference is that [[Main.]] is rendered
> > with the trailing dot. Does it work as intended?
>
> Yes.
>
>    [[Main/HomePage]]   renders as "HomePage"
>    [[Main.HomePage]]   renders as "Main.HomePage"
>    [[Main/]]           renders as "Main"
>    [[Main.]]           renders as "Main."
>
> In other words, the dots always render and the slashes
> never render.
>
> Pm
>




More information about the pmwiki-users mailing list