SOLVED - Block only viewable if populated with at least one field?
Design and Skin Customization
If it is going in the profile_header.tpl file, and your artist quota ID is 1, then it would look something like this:
{if $profile_quota_id == '1'}
< div class="block pbpbg" >
< h3 class="pbpfont">BAND MEMBERS< /h3>< br/>
< div class="memspan" >{if strlen($profile_voice) > 2}<span>Voice: </span>{$profile_voice}{/if}<br />
{if strlen($profile_guitar) > 2}<span>Guitar: </span>{$profile_guitar}{/if}<br />
{if strlen($profile_bass) > 2}<span>Bass: </span>{$profile_bass}{/if}<br />
{if strlen($profile_drums) > 2}<span>Drums: </span>{$profile_drums}{/if}<br />
{if strlen($profile_othermembers) > 2}<span>Others: </span>{$profile_othermembers}{/if}<br />
< /div >
< /div >
{/if}
If it is not going in the profile_header.tpl, you'll want to use {debug} for the template your adding it to and make sure the $profile_quota_id is available in that template.
If this variable is not available, then you'll want to use a jrCore_list function on the jrProfile module to get the profiles quota ID.
Hope this helps,
Douglas