Plugin

Archived
Forum
(read-only)

Math

ExpressionEngine 2, ExpressionEngine 3

Back to this add-on's main page
View Other Add-ons From Caddis

     

PHP

Support Request

Spectle
Spectle

This doesn’t seem to be working, any idea why? I assume it has something to do with the php parsing order?

{exp:math formula="[1] - [2]" absolute="yes" params="<?php echo $counter; ?>|{embed:inventory}"

I have tried “parse=inward” and setting the php parsing stage on the template to input, which usually does the trick, but no such luck.

Thank you :)

Lewis Communications
# 1
Developer
Lewis Communications

What is your PHP Parsing Stage set to on that template? It would need to be Input vs Output for this to have a chance at working.