[pmwiki-users] Problem with SideBar.
Mario St-Gelais
mario.stg at sympatico.ca
Wed Sep 20 14:25:30 CDT 2006
I solved my problem :-D
I did not bother copying the wikilib.d directory. I was under the impression
that this directory could be safely ignored. I guess there is some stuff
there that's needed. And actually, the page Site.PageListTemplates not being
there created the problem. I copied the page in my wiki.d directory, and now
all is ok.
Thanks Pm.
On Wednesday 20 September 2006 15:00, Patrick R. Michaud wrote:
> On Wed, Sep 20, 2006 at 02:45:53PM -0400, Mario St-Gelais wrote:
> > I have a site on PmWiki that works great (http:www.astj-outaouais.com).
> >
> > For testing purposes, I copied the whole site on the same machine, but on
> > a virtual host (192....:8050) so that I can fiddle around without messing
> > the site.
> >
> > The SideBar looks like so :
> >
> > %sidehead% Public
> > (:pagelist group=Public name=Public.1* fmt=#title list=normal :)
> > [...]
> > The pagelist refuses to list the pages. Instead, the content of the page
> > being visited is displayed and, depending on the page visited, repeated
> > several times in the SideBar ???. I don't understand. :-|
>
> Does the page being visited have a [[#title]] anchor in it? If so,
> then (:pagelist:) is picking up that section of text instead of
> using the [[#title]] in Site.PageListTemplates.
>
> You can fix this by making the page template explicit in the pagelist:
>
> (:pagelist name=Public.1* fmt=Site.PageListTemplates#title
> list=normal:)
>
> Pm
More information about the pmwiki-users
mailing list