Advanced Forum and Author Pane are installed on my site, hense Author Pane is shown in the comments to forum and to site. Then installed Countries module and added country field to user registration form. Installed Country icon module and in the country choise field added also country flag. In the forum file 'advanced_forum.silver_bells.author-pane.tpl.php ' indicated this field:
<span class="autorflag"><?php if (isset($account->field_country_user['und']))
print render(field_view_value('user', $account, 'field_country_user', $account->field_country_user['und'][0])); ?></span>The field is indicated but now I have to indicate a flag too (country icon). How should I change the code to indicate the flag?
Comments
Comment #1
Rustan commentedSee this: http://drupal.org/node/1965130