solved how to show a new created form desinger field at Bio for some quotas

resif
@resif
6 years ago
187 posts
i have created a new field name with two select options for Bio infos on form desniger
how can i show it at Bio
i used {$profile_kind} and added to sidebar_profile.tpl
it works but i am not sure is this right?
and i want to show this field name only for 2 quota... what i should add this code {$profile_kind}
updated by @resif: 01/25/19 03:11:46PM
douglas
@douglas
6 years ago
2,793 posts
That is correct if the name of your field is profile_kind the you use {$profile_kind} in the template you want it to show in... to show it to certain quotas, you can use an if statement, something like this...

Show it to the quota_id 1 quota...
{if $profile_quota_id == '1'}
    {$profile_kind}
{/if}

Show it to quota_id 1 and 2 quotas
{if $profile_quota_id == '1' ||  $profile_quota_id == '2'}
    {$profile_kind}
{/if}

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
resif
@resif
6 years ago
187 posts
@douglas thank you.. it works..

Tags