[pmwiki-users] Pagelist with Group (what's going wrong?)
Ben Wilson
dausha at gmail.com
Thu Feb 2 11:17:30 CST 2006
That did it. Although, I kept plugging your fix into the different
(:if:) blocks because I was in a hurry and wasn't reading closely
enough. So, one version had the group title listed for every page, but
not the page. :-) I thought I just cut and pasted the code I usd in
my sitemap markup from one of the recipes, FWIW.
Ben
On 2/2/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Thu, Feb 02, 2006 at 09:18:44AM -0600, Ben Wilson wrote:
> > On my site: http://dausha.net/Site/Sitemap I have (:pagelist
> > fmt=#sitemap:) and everything lists as expected.
> >
> > On a separate page http://dausha.net/Technical/Technical I have
> > (:pagelist fmt=#sitemap group=Technical:) and all I receive is the
> > group name "Technical." I even added quotes, also to no avail
> > (:pagelist fmt=#sitemap group="Technical").
>
> In your #sitemap definition, you have:
>
> ...(:if ! equal {$Group} {$Name}:)
> * [[{=$Group}/{=$Name}|+]]
> (:if equal {>$Group}:)
> (:if:)
>
> For the page Technical.Technical, the group and name are always the
> same. I suspect you meant to have
>
> (:if ! equal {=$Group} {=$Name}:)
>
> which refers to the current page in the pagelist, as opposed to
> the currently displayed page (Technical.Technical).
>
> Pm
>
>
>
--
Ben Wilson
" Mundus vult decipi, ergo decipiatur"
More information about the pmwiki-users
mailing list