I want to show some extra html code on the member profile pages but only if a certain profile field is completed.
I want to do this to tell Google translate to only translate some profile fields, the ones with large amount of text.
Something like this in "userProfileAbout" template:
Default: <dd>{@$userOption[object]->optionValue}</dd>
Modified: <dd{if profilefield"72" == true} class="translate"{/if}>{@$userOption[object]->optionValue}</dd>
Obviously {if profilefield"72" == true} is dummy text, but everything else I have tried fails.
Could someone point me in the right direction please.
Thank you.