title: smarty 'OR' operator is not working?
body: <pre><code>{if $command2 ne "thanks" || $command1 ne "error"}
   some code &lt;!---Ist Code--&gt;
  {/if}
  
  {if $command2 eq "thanks" || ($command1 eq "error"}
  &lt;meta name="Robots" content="noindex, nofollow"&gt; &lt;!---2nd Code--&gt;
  {/if}
  </code></pre>
  
  <p>I am trying this but its not working.its showing both 1st and 2nd code
  Give me one solution</p>