Forums / Cotonti / Support / news.tpl

ruben
#1 2013-01-29 15:56

i added PAGE_ROW_EXTRA1 but want to hide it when it's empty.
i tried but it's not showing anything now

    <!-- BEGIN: PAGE_ROW_EXTRA1 -->
    <div class="block">
    <div class="paging"><strong>{PAGE_ROW_EXTRA1}</strong></div>
    </div>
    <!-- END: PAGE_ROW_EXTRA1 -->

 

Twiebie
#2 2013-01-29 15:59

Try:

<!-- IF {PAGE_ROW_EXTRA1} -->
<div class="block">
<div class="paging"><strong>{PAGE_ROW_EXTRA1}</strong></div>
</div>
<!-- ENDIF -->

 

ruben
#3 2013-01-29 16:14

works! i tried with IF but i didn't use { }