[pmwiki-users] WikiTrails and pagelists
Roman
romat2 at gmail.com
Mon Apr 16 08:21:31 CDT 2007
On 4/14/07, Vince Administration <vadmin at math.uconn.edu> wrote:
>
> On Apr 13, 2007, at 8:02 PM, Kathryn Andersen wrote:
>
> > On Fri, Apr 13, 2007 at 11:09:27PM +0100, Hans wrote:
> >> Friday, April 13, 2007, 10:57:33 PM, Patrick wrote:
> >>
> >>>> [[#trailindex]]
> >>>> (:if equal {$FullName} {=$FullName}:)<< [[{<$FullName}|+]] |
> >>>> [[{=$FullName}|+]] | [[{>$FullName}|+]] >>(:if:)
> >>>> [[#trailindexend]]
> >>
> >>> This is so incredibly useful and obvious (in hindsight) that I think
> >>> it ought to be in the core Site.PageListTemplates.
> >>
> >> In the past there was a problem with this for the first and last
> >> page.
> >> Has this been resolved?
> >
> > I found that this problem gets fixed if one explicitly uses the $Title
> > rather than the + markup:
> >
> > [[#trailindex]]
> > (:if equal {*$FullName} {=$FullName}:)<< [[{<$FullName}|{<$Title}]] |
> > [[{=$FullName}|{=$Title}]] | [[{>$FullName}|{>$Title}]] >>(:ifend:)
> > [[#trailindexend]]
> As someone who has not grown up with this, it would be incredibly
> useful if
> someone would say in words what this does. I am very confused.
>
> Thanks, Vince
With traditional wikitrail you have to create and maintain list of
pages manually. Pagelist markup helps you to create list of pages
dynamically and the above pagelist template formats the results as
traditional wikitrail. Once you create new page with name matching
pagelist name= or group= criteria it appears in such "wikitrail"
automatically.
Roman
More information about the pmwiki-users
mailing list