Jump to content
JohnBear

Export Templates: Math?

Recommended Posts

Hi Dan,

 

Is there a bug in how the math container works?

<!--MATH-->3*<!--STR--><!--VAL--><!--STR--><!--MATH-->

I can't get this to work to save my life. And I copied it directly from the manual ::me shakes head::

Share this post


Link to post
Share on other sites

VAL may contain both primary and secondary values (where applicable), throwing off the calculation.  You'd be better off using STR_PRIMARY (or STR_SECONDARY).

Share this post


Link to post
Share on other sites

MATH and STR require an end tag. 

 

Yours

<!--MATH-->3*<!--STR--><!--VAL--><!--STR--><!--MATH--><br>
 
Correct
<!--MATH-->3*<!--STR--><!--VAL--><!--/STR--><!--/MATH--><br>
 
Notice that the final STR and MATH tags have a "/" prior to the word STR and MATH.
 
Hope this helps
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×