Quote:
Originally Posted by SuprSurfr
Hey would it be possible to modify the code so that it only shows what classes that are open for recruitment on the page?
Example:
If I had 0 or closed in the field dont show the Class at all on the page.
If I had 1 or greater or Open in the field it would show the class on the fron page.
Is this doable and if so how difficult?
Thanks.
|
You can do something like
PHP Code:
<if condition="$druid > 0">
<div><img src="../../forum/images/wow/Druid.gif" width="20" height="20"> Druid: $druid</div>
</if>
Inside your display template. You would need to do one if condition for each class