Jump to content

Archived

This topic is now archived and is closed to further replies.

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×