On 28 June 2013 14:48, Peter Bowers pbow...@pobox.com wrote:
On Thu, Jun 27, 2013 at 2:52 PM, Simon nzsk...@gmail.com wrote:
...
...
[1] Something like this should suffice:
$FmtPV['$MonthNum'] = 'MonthNum($pagename, $name)';
function MonthNum($pagename, $name)
{
$months =
I'm having trouble understanding why a pagelist I have written won't come
out in order by page text variable
order=-$:MonthNum
If anyone can have a look I'd appreciate it
http://ttc.org.nz/pmwiki/pmwiki.php/Webteam/Test
ta
Simon
___
pmwiki-users
On Thu, Jun 27, 2013 at 6:18 AM, Simon nzsk...@gmail.com wrote:
I'm having trouble understanding why a pagelist I have written won't come
out in order by page text variable
order=-$:MonthNum
You've defined your PTV using a markup expression as below:
(:MonthNum:{(ftime fmt=%m
I've added some of this to the wiki under
http://www.pmwiki.org/wiki/PmWiki/PageLists#pagetextvariable
Edit as needed.
-Michael Paulukonis
http://www.xradiograph.com
http://goog_2112721603Interference Patterns (a
blog)http://www.xradiograph.com%5Cinterference
@XraysMonaLisa
Thankyou very much.for this explanation
That is very confusing.
The variables are displayed correctly when used in the pagelist.
But you are saying not when used by the pagelist.
This sound like a bug to me.
'
It certainly doesn't give the expected result (PmWiki
Is there anyway to cause a pagelist to sort across groups using order=
and a page text variable? I have a PTV (called NextDate) that appears
on pages in more than one group. I would like to have a pagelist that
returns all pages sorted by the NextDate. Right now, the pagelist
returns a list
Pico Ben-Amotz wrote:
Is there anyway to cause a pagelist to sort across groups using order=
and a page text variable? I have a PTV (called NextDate) that appears
on pages in more than one group. I would like to have a pagelist that
returns all pages sorted by the NextDate. Right now, the
On 9/8/07, Mike Shanley [EMAIL PROTECTED] wrote:
Pico Ben-Amotz wrote:
Is there anyway to cause a pagelist to sort across groups using order=
and a page text variable? I have a PTV (called NextDate) that appears
on pages in more than one group. I would like to have a pagelist that
(:pagelist name=CombinedInput.2SanFranciscoCastroDistrict* fmt=title
order=title :)
produces a nice list of titles, but not in title order. Order has no
effect.
Suggestions appreciated.
Thanks,
Brendan
___
pmwiki-users mailing list
On Tue, Apr 10, 2007 at 04:44:44PM -0500, writeon1 wrote:
(:pagelist name=CombinedInput.2SanFranciscoCastroDistrict* fmt=title
order=title :)
produces a nice list of titles, but not in title order. Order has no
effect.
Suggestions appreciated.
What version of PmWiki?
Pm
version 2.2.0 Beta 41, Triad skin March 23 2007.
Brendan
Patrick R. Michaud wrote:
On Tue, Apr 10, 2007 at 04:44:44PM -0500, writeon1 wrote:
(:pagelist name=CombinedInput.2SanFranciscoCastroDistrict* fmt=title
order=title :)
produces a nice list of titles, but not in title order. Order
2.2.0 beta41 had a problem with order=title not working
properly [1]. Try upgrading to beta42. :-)
Pm
[1] http://www.pmwiki.org/wiki/PmWiki/ChangeLog
On Tue, Apr 10, 2007 at 11:41:13PM -0500, writeon1 wrote:
version 2.2.0 Beta 41, Triad skin March 23 2007.
Brendan
Patrick R. Michaud
Monday, March 5, 2007, 11:46:06 PM, Hans wrote:
for the pagelist order= functions, PmWiki allows the creation of custom
order functions. See
http://www.pmwiki.org/wiki/PmWiki/CustomPagelistSortOrder
Maybe a custom function can be created which would process a page
text variable to create a
Tuesday, March 6, 2007, 10:34:48 AM, Hans wrote:
Here is a custom PagelistSortOrder function for sorting pages by numerical
pagetextvar data:
Perhaps the function should better be called IntegerDataCompare:
Add to local config (or recipe script:
# sorting pages by numerical pagetext var data
Tuesday, March 6, 2007, 10:50:59 AM, Hans wrote:
Perhaps the function should better be called IntegerDataCompare:
I added this to a new cookbook page:
http://www.pmwiki.org/wiki/Cookbook/CustomPagelistSortOrderFunctions
I don't know under which category or index section this should go, or
On 3/6/07, Hans [EMAIL PROTECTED] wrote:
Tuesday, March 6, 2007, 10:50:59 AM, Hans wrote:
Perhaps the function should better be called IntegerDataCompare:
I added this to a new cookbook page:
http://www.pmwiki.org/wiki/Cookbook/CustomPagelistSortOrderFunctions
I don't know under which
The sorting is text sorting - consider the digits as characters
A. Fish:09
B. Fish:10
C. Fish:30
If the numbers are result of some incrementing then start the numbering
from 100 or 1000
not to have the same problem when 100 or 1000 arrived
Regards
Jiri
Jon Haupt napsal(a):
When the order=
On 3/5/07, Jiri Hladůvka / OBUTEX [EMAIL PROTECTED] wrote:
The sorting is text sorting - consider the digits as characters
A. Fish:09
B. Fish:10
C. Fish:30
If the numbers are result of some incrementing then start the numbering
from 100 or 1000
not to have the same problem when 100 or 1000
Monday, March 5, 2007, 1:34:44 PM, Jon wrote:
In my case, I'm putting in metadata about libraries. For example,
Library A has 90 books, Library B has 10,000 books, and Library C has
300,000 books. If I sort by $:Books, I get BCA, so can I create a
different kind of sorting that will arrive
When the order= element of pagelist is used on numbers, the sort
method is digit-by-digit (i.e. 10 comes before 9). How can I create
something where 9 is sorted before 10? I am using this with page text
variables. so if I have pages with
A. Fish:9
B. Fish:10
C. Fish:30
and create a pagelist
20 matches
Mail list logo