[pmwiki-users] number of articles in pagelists
Florian Fischer
Flori-Fischer at gmx.net
Tue Oct 31 02:52:19 CST 2006
Hello Pm,
it would be great if you could prototype a pagelist format function for me. Actually, i'm using drafts and "draft" is the extension i was writing about. I just want my publishers to know before pressing the link to the pagelist-page of existing drafts if there are some or not.
Regards,
Florian
-------- Original-Nachricht --------
Datum: Mon, 30 Oct 2006 15:28:11 -0600
Von: "Patrick R. Michaud" <pmichaud at pobox.com>
An: Florian Fischer <Flori-Fischer at gmx.net>
Betreff: Re: [pmwiki-users] number of articles in pagelists
> On Sun, Oct 29, 2006 at 12:29:07PM +0100, Florian Fischer wrote:
> >
> > Basically in my sidebar there is link to a page showing a pagelist of
> pages with a certain extension.
> > Is it possible to count these artiles with this special extension and
> show it by a variable in the sidebar?
>
> It's possible, but I don't know if it's possible to get it to
> appear next to existing text.
>
> The pagelist template would be:
>
> [[#pagelistcount]]
> (:if equal {>$FullName}:){$$PageCount}(:if:)
> [[#pagelistcountend]]
>
> See, for example, http://www.pmwiki.org/wiki/Test/PLC .
>
> It could be done much more quickly (and possibly displayed
> better) with a custom pagelist format function -- let me
> know if you want me to prototype this.
>
> Pm
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
More information about the pmwiki-users
mailing list