Forums | Mahara Community

Open Discussion /
Institution and country preselected

anonymous profile picture
Account deleted
Posts: 5

23 December 2009, 7:23


this is not really a bug, just a little detail, but I was wondering why in user registration always the latest created institution is pre-selected (instead of "No institution"). I would prefer new people not paying attention to the institution-field registering to no institution at all than to the wrong institution.

I was also wondering why every new member by default lives in "New Zealand". Wouldn't it be better to add something like "no country selected".

As I said - nothing important, just details. And you can still tell me if I'm wrong ;-)


Heinz Krettek's profile picture
Posts: 480

24 December 2009, 7:08

Hello Christoph,

here is the code-snippet to modify if you look for a "new" standard" country:


    if ($element == 'country') {
        $items[$element]['options'] = getoptions_country();
        $items[$element]['defaultvalue'] = get_config('country') ? get_config('country') : 'nz';


HTH Heinz

2 results