Hi all,

I created an area handler cloned from "Result summary". It adds the @views_calc_totals and @views_calc_sub_totals replacement, so now you can create a Header like:

Total:@views_calc_totals

Please review, thanks!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ruloweb created an issue. See original summary.

ruloweb’s picture

ruloweb’s picture

Add a new version which prevents a faltal error.

ruloweb’s picture

Just changed the handler name from views_calc_handler_area_result_views_calc to views_calc_handler_area_result. It's more redeable.

ruloweb’s picture

Status: Needs work » Needs review
jaspher’s picture

I get the following error:

git apply views_calc-area_result_handler-2680555-4.patch
error: patch failed: views_calc.info:12
error: views_calc.info: patch does not apply
ruloweb’s picture

That's weird, it applies wih "git apply" but not with "patch -p1 <"