Thanks, I was thinking there should be a way with existing variables, but was
coming up empty.
-Monte
Date: Wed, 15 Jul 2015 18:34:00 +0200
From: 5...@5ko.fr
To: pmwiki-users@pmichaud.com
Subject: Re: [pmwiki-users] Pagelist Question
Use something like this in config.php
I guess I get it working with these 2 steps :
in config :
function IntegerNameCompare($x, $y) {
# get integer value of the page name or title
$xval = intval(PageVar($x, '$RevCount'));
$yval = intval(PageVar($y, '$RevCount'));
# compare integer values
if($xval
I am trying to make a page that would show the pages with the most revisions. I
have added $RevCount into my config.php and have tried various iterations of
the line:
(:pagelist group=Group order=$RevCount count=10 fmt=#simple list=normal:)
but not getting the expected list. I have added
Use something like this in config.php:
$PageListSortCmp['revcount'] = '$PCache[$y][rev] -
$PCache[$x][rev]';
Then in a page:
(:pagelist group=Main order=revcount:)
The default pagelist sorting function with order=$RevCount will consider
the text contained in the variable as text and
Thanks, that seems to have done it! I hadn't created a sorting function.
-Monte
From: languefranca...@gmail.com
Date: Wed, 15 Jul 2015 18:11:25 +0200
Subject: Re: [pmwiki-users] Pagelist Question
To: m_pad...@hotmail.com; pmwiki-users@pmichaud.com
I guess I get it working with these 2 steps
We use the following code to generate a page list for users to look at
wiki groups:
(:title Page listing:)
(:pagelist group=-Main,-PMwiki,-Site,-Siteadmin,-Tags,
name=-RecentChanges list=normal:)
On each page we use the (:title xx:) markup. Is there a way to get this
title to display in
On Sep 11, 2009, at 2:25 PM, Robert Matthews wrote:
We use the following code to generate a page list for users to look
at wiki groups:
(:title Page listing:)
(:pagelist group=-Main,-PMwiki,-Site,-Siteadmin,-Tags, name=-
RecentChanges list=normal:)
On each page we use the (:title
Yes : use a format option in your query : #fmt=title for exemple : included
in PmWiki by defaut.cf. http://www.pmwiki.org/wiki/PmWiki/PageLists #fmt
section.
http://www.pmwiki.org/wiki/Site/PageListTemplates
2009/9/11 Robert Matthews rmatth...@ms.soph.uab.edu
We use the following code to
@pmichaud.com
Subject: Re: [pmwiki-users] Pagelist question
Yes : use a format option in your query : #fmt=title for exemple : included in
PmWiki by defaut.
cf. http://www.pmwiki.org/wiki/PmWiki/PageLists #fmt section.
http://www.pmwiki.org/wiki/Site/PageListTemplates
2009/9/11 Robert Matthews
*Cc:* pmwiki-users@pmichaud.com
*Subject:* Re: [pmwiki-users] Pagelist question
Yes : use a format option in your query : #fmt=title for exemple : included
in PmWiki by defaut. cf. http://www.pmwiki.org/wiki/PmWiki/PageLists #fmt
section.
http://www.pmwiki.org/wiki/Site/PageListTemplates
I'm trying to implement some kind of blog feature (yes, I know
there are several suggestions for how to do this ... see this as
an exercise in learning more about pmwiki). I'm trying to keep
things as simple as possible and base everything on the pagelist
command, on thing I'm trying to
Sunday, May 11, 2008, 9:37:09 AM, Jan Erik Moström wrote:
I've got one entry/page and they all have the format
MMDDHHMMSS. My idea was to let pagelist only list the pages
that have names that are less or equal that the current date/time.
I've been looking at the pagelist page but can't
Jan Erik Moström wrote:
I'm trying to implement some kind of blog feature (yes, I know
there are several suggestions for how to do this ... see this as
an exercise in learning more about pmwiki). I'm trying to keep
things as simple as possible and base everything on the pagelist
command,
Hans schrieb:
Thursday, January 31, 2008, 6:14:20 PM, noskule wrote:
I would like show 10 blogposts on a page and have a link at the bottom
of the page that shows me the next 10 posts.
To show 10 posts is not the problem but to do the link i can't figure
out how to do.
Is each post a
Coincidentally, I just implemented a very simple solution for this on
BoltWire that might spark some ideas for doing this in PmWiki. The
syntax is slightly different, but the concept is quite workable.
http://www.boltwire.com/index.php?p=forum.snippets.1034
In BoltWire, [( )] is the equivalent
hi list
I would like show 10 blogposts on a page and have a link at the bottom
of the page that shows me the next 10 posts.
To show 10 posts is not the problem but to do the link i can't figure
out how to do.
Does anyone know about a solution for that?
thanks for any hints
nos
On Thu, Jan 31, 2008 at 07:14:20PM +0100, noskule wrote:
hi list
I would like show 10 blogposts on a page and have a link at the bottom
of the page that shows me the next 10 posts.
To show 10 posts is not the problem but to do the link i can't figure
out how to do.
Does anyone know about
Thursday, January 31, 2008, 6:14:20 PM, noskule wrote:
I would like show 10 blogposts on a page and have a link at the bottom
of the page that shows me the next 10 posts.
To show 10 posts is not the problem but to do the link i can't figure
out how to do.
Is each post a separate page, or
On 6/21/07, Hans [EMAIL PROTECTED] wrote:
Thursday, June 21, 2007, 6:03:03 PM, Patrick R. Michaud wrote:
How can pagelist include/exclude in the list the page it is in?
I can't find this info on PmWiki.PageLists
(:pagelist name=-{$FullName} :)
I am using list=normal, which excludes self.
19 matches
Mail list logo