[pmwiki-users] PAGELIST / Math / summatory

edwin marte edwin.marte at leidba.com
Fri Sep 4 09:40:35 CDT 2009


How does Poertools handle PTV inside the markup anyway?.

 It seems to be it breaks with ptv. Ej.  {(math {$:data1} + {$:data1})}
that will totally break. It will show the values but it won't evaluate them.
I think that happens the same with pagelits markup .

Any thoughts?

Regards,
Edwin

On Fri, Sep 4, 2009 at 11:17 AM, edwin marte <edwin.marte at leidba.com> wrote:

> Hello Hans,
>
> This feature works great, I am almost there.
>
> I am having a problem though trying to use sumdata with pagelist and a PTV
> inside the pagelist.
>
> {(pagelist group=Cases)}     Works.
> {(pagelist group=Cases $:Dept="Some Department")} Does Not.
>
> Actually my final markup will be something like the following.
>
> {(sumdata (pagelist group=Cases -Main -GroupFooter -RecentChanges
> $:Dept="Some Department"  $:Month={$:MthSel}) data=ValueCount)}
>
> Both Values $:Dept="Some Department"  and $:Month={$:MthSel} brake the
> pagelist. Any suggestion?
>
> Regards,
> Edwin
>
>
>
>
> On Thu, Sep 3, 2009 at 5:25 PM, Hans <design5 at softflow.co.uk> wrote:
>
>> Thursday, September 3, 2009, 9:05:36 PM, edwin marte wrote:
>>
>> > and hans look aproach looks promosing but haven't tested it yet.
>>
>> Now added to
>> http://www.pmwiki.org/wiki/Cookbook/PowerTools#sumdata
>>
>>  {(sumdata PAGE|PAGELIST data=PTVLIST)}
>>    returns sum of PTVs listed from pages in PAGELIST. Input
>> arguments: PageName or comma-separated list of pagenames [use (plist)
>> or (pagelist) to provide pagelist]; PTV or comma-separated PTVLIST as
>> value for data= parameter. The function will convert if necessary
>> PVvalues in floating-point numerals.
>>
>>
>>
>>  ~Hans
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090904/b0619a73/attachment.html 


More information about the pmwiki-users mailing list