Answer the question
In order to leave comments, you need to log in
How to make a correct counter?
The question is really simple, but I tried something like 5 options and everything is not right.
In general, there is a widget
<div class="panel">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion-alt3" href="#collapse1-alt3">
<i class="fa fa-angle-right"></i><?=$category['name']?>
</a>
</h4>
</div>
<?php if(!empty($category['doc'])): ?>
<div id="collapse1-alt3" class="panel-collapse collapse">
<div class="panel-body">
<?=$this->getMenuHtml($category['doc']); ?>
</div>
</div>
<?php endif; ?>
</div>
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