[pmwiki-users] Trying to sort out pagelists to use as wikitrails

tamouse mailing lists tamouse.lists at gmail.com
Fri Oct 28 17:23:40 CDT 2011


I've been going over the DynamicWikiTrails cookbook, and trying to
figure out a way to make this work:

In the child wiki page, Recipes.CranberryPearCrisp, I have this:

    (:if false:)
    Summary:the combination of the tart cranberries and sweet pears
makes this a fabulous dessert
    Parent:Recipes.Desserts
    (:ifend:)

    (:pagelist link={*$:Parent} group={*$Group} fmt=#parenttrail list=all:)


parenttrail is defined as:

    (:if false:)
    [[#parenttrail]]
    (:template each :)
    >>green<<
    [=*=]$FullName = [[{*$FullName}]] \\
    =$FullName = [[{=$FullName}]]
    >><<
    (:if equal {*$FullName} {=$FullName}:)
    %trail%[[{<$Name}|+]] | [[{*$:Parent}]] | [[{>$Name}|+]]
    (:ifend:)
    [[#parenttrailend]]

What gets shown on the page is:

    *$FullName = Recipes.CranberryPearCrisp
    =$FullName = Recipes.BaileysIrishCremeBundtCake
    *$FullName = Recipes.CranberryPearCrisp
    =$FullName = Recipes.CherryCake
    *$FullName = Recipes.CranberryPearCrisp
    =$FullName = Recipes.ChocolateUpsideDownCake
    *$FullName = Recipes.CranberryPearCrisp
    =$FullName = Recipes.FamousCarrotCake
    *$FullName = Recipes.CranberryPearCrisp
    =$FullName = Recipes.HomePage
    *$FullName = Recipes.CranberryPearCrisp
    =$FullName = Recipes.MyGrandmothersEasyCake
    *$FullName = Recipes.CranberryPearCrisp
    =$FullName = Recipes.NellyStarrCake
    *$FullName = Recipes.CranberryPearCrisp
    =$FullName = Recipes.PlumClafouti
    *$FullName = Recipes.CranberryPearCrisp
    =$FullName = Recipes.TripleChocolateCake
    *$FullName = Recipes.CranberryPearCrisp
    =$FullName = Recipes.ZucchiniChocolateChipCake

While I read the bit about the current page not being included in the
normal search pattern, shouldn't it be included in the "all" search
pattern?? Is there some interaction going on between link= and list=
that I'm unclear about?



More information about the pmwiki-users mailing list