Dynamic
dynamic — Marks the contents of the block as dynamic. Which means that it will not be cached.
If you are using Tplix’s caching (as in real output caching, not just the compiled templates thing), and you want some piece of a template not to be cached, just suround it with the
Examples:
{dynamic}...{/dynamic} tagWhere template is:
{dynamic}
{math equation="10*(2/5)" assign=amount}
{dump $amount}
{math equation="10*(2/5)" assign=rate}
{$rate|dump}
{/dynamic}
The above example will output:
4.0
6.0