I need to add a category to the "groups" mod!

Hi fellow users,

 

I need to add a new line between group description and tags, a category which will use a dropbox with some selections

 

ex : Select your contry : fr, en, es, it ...

 

So I started to add this on the group creation/edit page :

 

views/default/form/groups/edit.php :

<div>
    <label><?php echo elgg_echo("groups:country"); ?></label><br />
    <?php echo elgg_view("input/dropdown", array(
        'name' => 'country',
    'id' => 'group_country',
    'value' => $vars['country'],
    'options_values' => array(
        'france' => elgg_echo('group:country:fr'),
        'suisse' => elgg_echo('group:country:sw')
    )
));
    ?>
</div>

 

but now I need some explanations on how to show it on the info page of a group..

Help me people!!


Thanks by advance :)