Friday 14 November 2003 3:17:04 am
Hi all I have a website where users have the option to log in. In order to cope with necessary new user requirements I have made a new user class, Student. The Student class consists of an user_account (original datatype unaltered), First and last name (Text lines), picture (Image) and a CV (binary file). Almost everything works fine now, user can log in/out, and anonymous users have the option to register themselves. However, logged in users should also have an option to edit there own data. In order to allow for this I have overridden the edit.tpl with edit_student_class_17.tpl. My edit_student_class_17.tpl is now almost an exactly copy of the edit.tpl, but WITHOUT the placement and version management edit templates. This as the users should only edit their specific data in a simple way, and NOT where they are stored etc. In order to cope with the lacking placement edit I have added this in my edit template: <input type="hidden" name="MainNodeID" value= "{$object.main_parent_node_id}" /> But when I press (Edit user) Windows XP says that Apache have crashed, that is during the rendering of the edit_student_class_17.tpl view! I have tried to check the Apache log but there is nothing there to indicate what is wrong. So have anyone here had these kind of problems? Secondly I would also like some tips on people who have implemented self user editing.
Cheers Tore
|