I've been customizing my Moodle installation to allow for specific information to be collected from students while ignoring other data that has no meaning in my setting. So far I've learned a lot about the profile edit page and the $user array, but two problems still remain.
First, I've renamed some fields (the ones normally used for all of the ICQ, MSN, Yahoo, etc.) and everything works well except for the fact that my renamed fields show on the edit profile page surrounded by two sets of square brackets, as newfieldname. How do I fix that? Or do I have to add fields to mdl_user?
Second, while making these changes I have tried to make some of the fields that were text inputs into drop down menus. I get the two bracket issue listed above with my list of choices, and I can't seem to get the item from the $choices array into the $user->whatever field.
Has anyone else run into this? I am running 1.5.2 with mySQL 2.5 on Red Hat Linux 8.
Thanks,
Bill