24/7 Support - 800.608.6482

The Miva Blog


New Template Language Updates with Miva Empresa 5.20 Engine

Posted by zdumlao to Design & Development on May 30th, 2014

There are a few Miva Template Language updates in the 5.20 engine.

Ability to Escape Quotes in mvt:assign and mvt:eval

With the 5.20 engine, you can now escape quotes within expressions.

Examples:

New Store Morph Tags for Greater Control in Foreach and While Loops

<mvt:foreachcontinue /> - Returns Program flow to the top of the foreach loop. This allows you to execute only partial code within an iteration of a loop and skip other code. It is used most commonly within an expression. If some condition is true jump back to the top of the loop and begin the next iteration.

Example:

In this example if the color is blue, no code after the foreachconctinue would be executed.

Free Email Updates

Get the latest content first.

Like Miva Merchant on Facebook Like on Facebook

Follow Miva Merchant on Twitter Follow @MivaMerchant

Follow Miva Merchant on Tumblr Follow Us on Tumblr

Miva Merchant RSS Feed Miva Merchant RSS Feed



Email to a Friend Try Miva Merchant
Today