Re: [pmwiki-users] 2.2.0-beta36 release (pagelist template updates)

2007-04-18 Thread Martin Fick
--- Patrick R. Michaud [EMAIL PROTECTED] wrote: Will you consider adding something to help complete paging support now? ... I'm still looking into this, but my feeling is that the math recipe approach is overkill (and over complex). Examples of how to page by ten using {$?get_var}

Re: [pmwiki-users] 2.2.0-beta36 release (pagelist template updates)

2007-03-18 Thread SteP
It's actually beta 37 that I'm testing now. This template insists on including page Group.Group even though that page should be excluded by the defaults section. !!!include Group pages by title excluding Group.Group comment [[#includegrouppages]] (:template defaults

Re: [pmwiki-users] 2.2.0-beta36 release (pagelist template updates)

2007-03-18 Thread Patrick R. Michaud
On Sun, Mar 18, 2007 at 08:24:03AM +0100, SteP wrote: It's actually beta 37 that I'm testing now. This template insists on including page Group.Group even though that page should be excluded by the defaults section. !!!include Group pages by title excluding Group.Group comment

Re: [pmwiki-users] 2.2.0-beta36 release (pagelist template updates)

2007-03-18 Thread SteP
Group G3 has 3 pages: G3,A,B. In G3: [[#f1]] (:template defaults group=G3 list=simple name=-G3,-RecentChanges:) (:template each:)[[{=$FullName}|{=$Titlespaced}]]\\ [[#f1end]] (:pagelist fmt=#f1 count=1..10:) (:pagelist fmt=#f1 count=11..20:) prints: A B B Shouldn't it be: A B the second

Re: [pmwiki-users] 2.2.0-beta36 release (pagelist template updates)

2007-03-18 Thread SteP
Patrick R. Michaud wrote: (:template list=normal order=title:) Ok, I got it. A couple more questions. You didn't add name=-RecentChanges in the defaults above. But if I don't add it I get the RecentChanges page even though list=normal is specified. This always happens to me when I use

Re: [pmwiki-users] 2.2.0-beta36 release (pagelist template updates)

2007-03-18 Thread SteP
SteP wrote: Is there a way in the defaults to exclude pages that *don't have* a PTV set to a certain value? I was thinking (:template defaults -$:var=value:) Today's other thread http://permalink.gmane.org/gmane.comp.web.wiki.pmwiki.user/40242 gave me a clue so I tried (:pagelist

Re: [pmwiki-users] 2.2.0-beta36 release (pagelist template updates)

2007-03-18 Thread Patrick R. Michaud
On Mon, Mar 19, 2007 at 12:06:13AM +0100, SteP wrote: SteP wrote: Is there a way in the defaults to exclude pages that *don't have* a PTV set to a certain value? I was thinking (:template defaults -$:var=value:) [...] Then I tried moving $:fmtinclude=-?* into the defaults markup

Re: [pmwiki-users] 2.2.0-beta36 release (pagelist template updates)

2007-03-17 Thread The Editor
I've been experimenting with the new template markups and I find them wonderful! Thanks Pm for a very nice new syntax. It is much easier to use! Cheers, Dan ___ pmwiki-users mailing list pmwiki-users@pmichaud.com

Re: [pmwiki-users] 2.2.0-beta36 release (pagelist template updates)

2007-03-16 Thread Dominique Faure
On 3/16/07, Patrick R. Michaud [EMAIL PROTECTED] wrote: I've just released 2.2.0-beta36, which adds some new features to pagelist templates. [...] Thus, instead of writing control breaks using (:if:) directives, as in (:if ! equal {$Group} {=$Group}:) Group: {=$Group} (:if:) *

Re: [pmwiki-users] 2.2.0-beta36 release (pagelist template updates)

2007-03-16 Thread Jon Haupt
On 3/16/07, Patrick R. Michaud [EMAIL PROTECTED] wrote: In addition, a template may specify default options to be used in the pagelist command. For example, a pagelist template to display a list of pages by their titles (and sorted by title) might use: [[#bytitle]] (:template