title: Smarty: How to fix "unknown modifier 'rewrite'" exception?
body: <p>After upgrading Shopware from 5.2 to 5.3 the following exception occured:</p>
  
  <blockquote>
    <p>Smarty: unknown modifier "rewrite"</p>
  </blockquote>
  
  <p>The error happens in a template-file. Obviously the "rewrite" modifier was removed. How can i substitute it in the template files?</p>
  
  <pre><code>{* Product image - uses the picture element for responsive retina images. *}
  &lt;a href="{$sArticle.linkDetails|rewrite:$sArticle.articleName}"
     title="{$sArticle.articleName|escape}"
     class="product--image" style="background-image: url('{if $sArticle.image.thumbnails[1].source}{$sArticle.image.thumbnails[1].source}{else}{link file='frontend/_public/src/img/no-picture.png'}{/if}')"&gt;
  {*    &lt;div class="product-hover"&gt;
          &lt;span&gt;Auge&lt;/span&gt;
          &lt;span&gt;Details&lt;/span&gt;
      &lt;/div&gt;*}
  </code></pre>