title: Smarty: Syntax of custom functions in if statements
body: <p>i have a smarty custom function which I have to call like this</p>
  
  <p><code>[{ oxcontent ident="oxhomepagefootertextblock" }]</code></p>
  
  <p>Now I have to check if the function returns a true or a value. I'm trying to use an if condition like this:</p>
  
  <pre><code>[{if oxcontent ident="oxhomepagefootertextblock"}]
      I'm true
  [{/if}]
  </code></pre>
  
  <p>Although there's an similiar example here (http://forum.oxid-esales.com/showthread.php?t=782#post4754) smarty stops the execution.</p>
  
  <p>Can somebody tell me what the right syntax is?</p>
  
  <p>Thanks in advance</p>