hi,
i ve recently start working with moodle and ther is something i don't understand.
i want to add a customized profilefile type.
i added
/moodle/user/profile/field/department/define.class.php
and
/moodle/user/profile/field/department/field.class.php
the administration works outofthesource like a charm.
but when i look at the
useradministation
there ist a call for
profile_load_data($user)
there my field.class.php works just fine. but then the same file there is a call for
$userform = new user_editadvanced_form();
inside this Class ist call for
profile_definitione($mform)
in this function my field dosn' work, because ther is no userid delivered.
Dos anyone know
A) why the fields are called twice
B) why the second time without userid
Thanks in advance for your help
Henrik Lowack
General developer forum
additional profile field types
This discussion has been locked so you can no longer reply to it.