Re: [MRBS-general] problem to add some fields in edit_entry.php form
Brought to you by:
jberanek
|
From: Thierry B. <thi...@ne...> - 2003-08-29 14:18:26
|
You have to make sure your new form fields are saved from pages to pages to follow the stream of the program until they are inserted into the database, not only the form in edit_entry.php and mrbsCreateSingleEntry() function. edit_entry.php -> edit_entry_handler.php ->mrbsCreateSingleEntry() TB ----- Original Message ----- From: "Régine SIMERMAN" <sim...@ch...> Hi, I've got some problems to modify mrbs calendar : - I would like to add some fields (email and resp) in edit_entry.php, so I have added the following lines in edit_entry.php, in the "Form name="main" part : <TR><TD CLASS=CR><B><?php echo $vocab["email"]?></B></TD> <TD CLASS=CL><INPUT NAME="email" SIZE=40 VALUE="<?php echo htmlentities($email) ?>"></TD></TR> <TR><TD CLASS=CR><B><?php echo $vocab["responsable"]?></B></TD> <TD CLASS=CL><INPUT NAME="resp" SIZE=40 VALUE="<?php echo htmlentities($resp) ?>"></TD></TR> - Then I added two fields in my mysql mrbs_entry table, named : email and resp. - I've also modified the parameters for the mrbscreatesingleentry function, by adding $email and $resp : mrbsCreateSingleEntry($starttime, $endtime, $entry_type, $repeat_id, $room_id, $owner, $name, $type, $description, $email, $resp, $ifr, $unit) So, it would work, but not. When I submit the edit_entry.php form it inserts in the mrbs_entry table all the fields that were existing before my adding (name, description, ..), except my two fields "email" and "resp". Can you help me to solve this problem ? I don't understand what the problem is ! Thanks Miss SIMERMAN Régine mail : sim...@ch... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ mrbs-general mailing list mrb...@li... https://lists.sourceforge.net/lists/listinfo/mrbs-general |