Re: [pmwiki-users] Any way to get page counts with breaks based on a PTV?

2019-11-13 Thread Petko Yotov
I've added this for 2.2.121. There will be a new pseudovariable {$$EachCount} similar to {$$PageGroupCount} that will contain the number of pages in the current "each" loop. I'm not sure if the name {$$EachCount} is good, could be {$$CurrentLoopCount} or something else, if anyone has ideas, be

Re: [pmwiki-users] Any way to get page counts with breaks based on a PTV?

2019-11-12 Thread Dominique Faure
Hi, You may have a try with the variables handling provided by the MarkupExprPlus recipe. Regards On Mon, Nov 11, 2019 at 9:15 PM Christopher Cox wrote: > Consider the following template and assume a SysUser group with pages of > users having the PTVs: department, name and active. > > [[#test1

[pmwiki-users] Any way to get page counts with breaks based on a PTV?

2019-11-11 Thread Christopher Cox
Consider the following template and assume a SysUser group with pages of users having the PTVs: department, name and active. [[#test1]] (:template defaults order=$:department:) (:template first {=$:department}:) Users in {=$:department} (:template each:) (:if equal {=$:active} true:) * [[{=$Ful