On Wed, Jul 27, 2011 at 9:39 AM, David Post <lds...@gmail.com> wrote:
> I know it's been a couple of years, but I noticed that the last commit on
> the UCBCN Calendar for Location.php is also the first commit, and if we look
> at Event.php we see that there is a note saying that it is completely broken
> and does not work. I've been trying to wrap my head around the code and
> figure out how to get Location.php insert function to be called when the
> save checkbox is checked, but for the life of me I can't figure it out. Is
> the Location class part of Event or Eventdatetime? Location works if we
> directly insert into the database ourselves, but that's hardly a solution
> for the faint at heart. Are there any pointers you could give me or some
> insight into the code to help me be able to finish writing this part? Other
> than that it looks great.
What files are you referring to? Can you provide links to the files at
http://code.google.com/p/unl-event-publisher/source/browse/ ?
Locations are standalone entities, and are stored in the locations
table. An instance of an event (eventdatetime) references a specific
location using the location_id field as the foreign key.
When using the UNL manager, a new location can be added by choosing --
New Value --, which brings up a Location subform for inserting a new
record.
Please send replies to the unl-event...@googlegroups.com list.
--
Brett Bieber
University of Nebraska-Lincoln
DB_DataObject::debugLevel(5);
Then see if you can track down what's going wrong.
> --
> You received this message because you are subscribed to the Google Groups "UNL Event Publisher" group.
> To post to this group, send email to unl-event...@googlegroups.com.
> To unsubscribe from this group, send email to unl-event-publi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/unl-event-publisher?hl=en.