Is an if -> then loop possible?

charliebrown

New Member
Example, for template-ing purpose

can I use something like:

if listing #10
show this xyz html
else
this html
endif

possible?

If I can get an example of that, it would be super cool :)
 

Basti

Administrator
Staff member
Nope, not possible.
Depending on what exactly you want to do, you either have to make a simple plugin, or if its not to much new data you want to add, jquery might work also

If you just want to give that member #10 a different styling , you can also give the each members html a class of
Code:
<div class="rank-{$rank}">
    all the other html
</div>
That would transform into class="rank-10" and could be targeted with pure css ussing
Code:
.rank-10 {

}
 
Top