Answer the question
In order to leave comments, you need to log in
How to comment out code in smarty?
Good afternoon.
How to comment out the code in this hellish thing? I mean not just leave a comment, but hide it from now until now?
{if !empty($int)}
<h2>{$cfg.int.sec_name}</h2>
{for $i=0, $iCount=count($int); $i<$iCount; $i++}
<div class='el'><a href='/{$cfg.int.sec_url|trim:'/'}/{$int[$i].dot_url|trim:'/'|default:$int[$i].dot_id}'>{$int[$i].dot_name}</a></div>
{/for}
<br>
<a href="/{$cfg.int.sec_url|trim:'/'}">Все статьи →</a>
{/if}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question