Developer forum

Forum » Templates » Check your templates for @If/@EndIf errors

Check your templates for @If/@EndIf errors

Mikkel Ricky
Reply

In Dynamicweb 8.2.3, we introduced a better – and more strict – if parser in our template engine, see Important Notes for Dynamicweb 8.2.3.

I have been faced with the challenge of fixing if errors in some templates, and to help me fix those I created a small script for identifying templates containing errors.

I've shared the script on Github: https://github.com/mri-dynamicweb/misc/tree/master/templates. It's a quick and dirty solution, but it does the job and you may find it useful. 

Best regards,
Mikkel

 


Replies

 
Merethe Nielsen
Reply

Thank you for sharing :)

 

You must be logged in to post in the forum