0

I am wondering if the following is possible to do within ExpressionEngine:

On the front end of the site, I would like ExpressionEngine to search a particular custom field within a particular channel, and add all of those numbers together to come up with a sum total. So for example...I have a channel named "Invoices" and within that channel, I have a custom field named "Monthly Total" which only has numbers and a decimal (ie. 15.25). On the front end of the website, I would like to display the sum total of custom field named "Monthly Total" for every single entry in that channel. So essentially, this front end section would automatically update when a new channel entry is created or deleted.

I hope that made sense, can this be done? Thanks!

2
  • Can you show us some code please? What have you tried? I don't think you can do this with /just/ vanilla EE. You would need to handle the the math with an add-on or php or javascript.
    – AllInOne
    Jan 8, 2015 at 19:33
  • I'm sorry about that. I was able to figure things out though. I had to use the "Tally" addon and it accomplished the task. :)
    – EDub
    Jan 9, 2015 at 20:04

1 Answer 1

1

I used the "Tally" addon found here https://devot-ee.com/add-ons/tally. It works like a charm.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.