Change default setting for email digest??

Re: Change default setting for email digest??

by Steve Bilton -
Number of replies: 0

Hi,

Whoops missed one of my changes to prevent change to the country dropdown.

I set this field to be completed hidden (rather than uneditable) from users as our Magento system controls the country region.

 $choices= array(''=>get_string('selectacountry').'...') + $choices;
    // SB edited - Hide country drop down menu in user profile to prevent editing
    // $mform->addElement('select', 'country', get_string('selectacountry'), $choices);
        $mform->addElement('hidden', 'country', get_string('selectacountry'), $choices);


Now remember this will not work for you if you don't have an integrated system for creation/editing of users, such as external database authentication (and enrolment).

Thanks

Steve

http://sheilds-elearning.com