Re: [pmwiki-users] Pagelist Question

2015-07-15 Thread Monte Padget
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

Re: [pmwiki-users] Pagelist Question

2015-07-15 Thread ABClf
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

[pmwiki-users] Pagelist Question

2015-07-15 Thread Monte Padget
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

Re: [pmwiki-users] Pagelist Question

2015-07-15 Thread Petko Yotov
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

Re: [pmwiki-users] Pagelist Question

2015-07-15 Thread Monte Padget
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

[pmwiki-users] Pagelist question

2009-09-11 Thread Robert Matthews
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

Re: [pmwiki-users] Pagelist question

2009-09-11 Thread Vince Admin Account
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

Re: [pmwiki-users] Pagelist question

2009-09-11 Thread ABClf
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

Re: [pmwiki-users] Pagelist question

2009-09-11 Thread Robert Matthews
@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

Re: [pmwiki-users] Pagelist question

2009-09-11 Thread ABClf
*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

[pmwiki-users] Pagelist question

2008-05-11 Thread Jan Erik Moström
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

Re: [pmwiki-users] Pagelist question

2008-05-11 Thread Hans
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

Re: [pmwiki-users] Pagelist question

2008-05-11 Thread Stirling Westrup
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,

Re: [pmwiki-users] pagelist question

2008-02-03 Thread noskule
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

Re: [pmwiki-users] pagelist question

2008-02-03 Thread The Editor
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

[pmwiki-users] pagelist question

2008-01-31 Thread noskule
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

Re: [pmwiki-users] pagelist question

2008-01-31 Thread Patrick R. Michaud
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

Re: [pmwiki-users] pagelist question

2008-01-31 Thread Hans
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

Re: [pmwiki-users] pagelist question

2007-06-21 Thread Tegan Dowling
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.