[TYPO3-english] TYPO3 TS userlisting: using AVG, SUM etc in select

Bert Hiddink [BENDOO e-work solutions] hiddink at bendoo.nl
Fri Dec 6 11:47:35 CET 2013


Hello Christian,

Thanks for your reply...

On 06-12-13 11:32, Christian Hennecke wrote:

> [snip]
>
> You could make lib.userlisting a COA and add another CONTENT object with
>
> selectFields = type, SUM(tx_feuserextrafields_donation)

OK but how should I render this part in order to show the total?

  renderObj=COA
   renderObj{

     #Show total here of field tx_feuserextrafields_donation
     10=TEXT
     10.field=tx_feuserextrafields_donation ####?????
     10.wrap =<td>|</td>
....

Thanks!
Bert


More information about the TYPO3-english mailing list