1
now that the browser crashing/select hovering has been solved...of course, i run into a new problem :)
i know i'm doing something immensely stupid wrong. i've been poring over this code and tinkering with it for 2 days now and i can't seem to get it to work properly. here's the problem.
i have this form that adds and edits calendar events. the form and the functions that populate it are called from admin/index.php, and a class does a lot of the work too. this form works fine for adding events, i'm led to believe the form isn't the problem. i added some debug code that prints all the variables sent by the form and they are correct when adding or editing. when editing an event, however, its not processed correctly somewhere and the edited event is added as a new event and the unedited event stays the same. in essence, its just cloning the event.
this is my first XOOPS module, and my first big php project...so go easy on me :)
i really need some fresh eyes to look at this. the code is too big to paste here, so i'll just put it in text documents and link to them. you'll see the code looks somewhat familiar, i horked most of it from the news module.
here's the calendar class. this is my prime suspect.
http://www.gravitysquared.com/CalendarEvent.txthere's the event form. xoopsforms kinda confuse me a bit, so if you see anything hokey in here, please tell me how to do it properly. there's also some extra crud in here i used when i was having trouble with the form. excuse the mess!
http://www.gravitysquared.com/Calendar_form.txthere's the functions. there's a bunch of crap in here that isn't being used yet, the stuff you'd need to look at is towards the bottom.
http://www.gravitysquared.com/Calendar_functions.txthere's the index.
http://www.gravitysquared.com/Calendar_index.txtif anyone's willing to help, let me know and i'll PM you with a link to my dev site and an admin login.
please help, this is driving me nuts >_<