[pmwiki-users] Using Page Text Variables in a pagelist

Simon nzskiwi at gmail.com
Sun Jul 17 02:31:25 CDT 2016


In a page[1 <http://ttc.org.nz/pmwiki/pmwiki.php/FixtureCard/2016April>] I
declare the page text variables

(:Year:{(substr {$Name} 0 4)}:)
(:MonthNum:{(ftime fmt=%m when="{$Namespaced}")}:)

Note the page name is in the format yyyymonth. e.g "2016 April"


I create a pagelist[2
<http://ttc.org.nz/pmwiki/pmwiki.php/FixtureCard/GroupHeader>][3
<http://ttc.org.nz/pmwiki/pmwiki.php/Site/LocalTemplates>] with an order
based on the page text variables
(:pagelist group=FixtureCard name=2*,-*Half*,-*ClubNight* fmt=#grouptrail
order=$:Year,$:MonthNum :)

I'm not getting the order I expect from the pagelist.

If anyone can suggest where I could look to get this to work I'd appreciate
it

tia

Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20160717/658c31ea/attachment.html>


More information about the pmwiki-users mailing list