calendar

How would you represent this sql query in a ActiveRecord relationship?

I have a slightly complicated query that I'd like to have as a natural ActiveRecord relationship. Currently I call @calendar.events and @calendar.shared_events then join the arrays and sort them. The consolidation is able to be done with this sql: SELECT calendar_events.* FROM calendar_events left outer join calendar_events_calendars on...

MySQL query to get non-data for unassigned dates

I have a table with weekly data that looks like: userID Site date ------ ------ ------ Smith Ferris Wheel 2009-07-13 Jones Outerspaceland 2009-07-13 LChar Ferris Wheel 2009-07-14 Smith Underworld 2009-07-16 Jones Fish Bowl 2009-07-17 Munson Go-Go Tech ...

Display Exchange Calendar Using ASP.NET or SharePoint

I would like to display an exchange calendar on our intranet using SharePoint or ASP.NET. It seems that it can be done using exchange web services, but to write it from scratch must involve reinventing wheels. Does anyone know of a simple way to display an exchange calendar without writing an application from scratch? ...

Know of any open source zend framework calendar?

I'm trying to find an open source PHP calendar that will play nicely with my zend framework application. Ideally, I should be able to display the events on the public site, and add/edit/delete events in the admin section. Anything that would keep me from re-inventing the wheel so I can get a head start would be great. Update: At the mo...

windows forms and calender field

how can we embed the calendar component in cell of a data grid view. actually my requirement is to catch the date of birth in column of one data grid view. ...

Is it Possible to Merge Cells in a datagrid view

hi all is there any way to merge cells in a datagrid view or atleast can we show on the screen like some columns in the grid belongs to one group. for example ill take three columns: column1: year field(a drop down type) column2: month field(a drop down type) column3: date field(a drop down type) all these three should be grouped to d...

WebDav And Exchange2007 HTTP1.1 404 Ressource not Found!

i have Exchange2007. and i am using the url: "https://exchange2007.exchange.server.com/Exchange/username/calendar"; 'calendar', or 'mailbox'( in your language! example, "boite de reception" in french or "calendário" in portuguese) with that url that i'm using i can list my ressources, but can't send a mail or write an appointement! wh...

rendering multiple Calendars bloats html, bogs down page

note: I am using the Infragistics control because this is inherited legacy code, but I am not above rewritting with an ASP.NET control if that is a better solution. I have a Repeater control that uses an Infragistics WebDateChooser to select a date for a record. Let's say each item in the Repeater represents a customer, and I am selecti...

Custom Event Calendar

Anyone know a good source for building a custom event calendar? ...

Java Calendar.set not giving correct result

I can't see where I'm going wrong with the code below, its probably something obvious but I'm too blind to see it at this stage. I'm passing a date of "01/01/2009" to an instance of calendar. I then try and set the month to 2 for March and the output I see is formatted: 01/01/2009 cal month: 2 cal.set( Calendar.MONTH, mth ); //mth = ...

ASP.NET calendar drawing control

I want to make a simple ASP.NET page that draws a months from a calendar and highlights given dates. (I'm not looking for a date picker.) What I have is a list of DateTime values and I need to display them a a nice way. Given that I'm a total beginner with ASP, simpler really is better. (I'd rather not, I'm willing to hack together some...

How to model and store recurring tasks in rails?

Cron solutions in rails are numerous and pretty good. That's not what I'm struggling with here. Instead, what I'm having trouble with is letting users create their own recurring tasks (like reminders) - specifically how to model and store these in the DB (a good UI for it is non-trivial too - would be awesome if there was code out ther...

Google Calendar PHP - Event URL / ID? (Zend_Gdata)

Hey everyone, I have modified my PHP web app to add events to a Google Calendar. Currently, it adds successfully. However, now I wish to delete and edit events. This seems easy to do, except for the fact that I don't know what event URL is associated with each event. Am I supposed to set this event URL (or ID?) upon adding an event? H...

Change view of SharePoint Calendar for multi-day events

I have SharePoint calendar control with multi day events: http://1.bp.blogspot.com/_8yYCvwdJans/RuECTJE5OmI/AAAAAAAAACc/iEqKLxyaZ9I/s1600-h/5.PNG Here, the calendar shows "A multi day event". Actually it's an event that starts on the 4th and ends on the 7th. Requirement: I need to hide the "A multi day event" bar and have it show on...

Frustration with Zend_Gdata and obtaining an Event URL for Google Calendar

Hey everyone, I posted a question about this last night, but I don't think it was clear enough. I am using the Zend_Gdata package with PHP to add events to my Google Calendar. I can successfully add events. However, when I add an event, I want to add that event's URL to a database so that if I ever need to delete that event, I can ret...

SharePoint calendar control with multidayevent

Calendar : SharePoint calendar control with multi day events: - http://1.bp.blogspot.com/_8yYCvwdJans/RuECTJE5OmI/AAAAAAAAACc/iEqKLxyaZ9I/s1600-h/5.PNG Here, the calendar shows "A multi day event". Actually it's an event that starts on the 4th and ends on the 7th. Requirement: I need to hide the "A multi day event" bar and have it sho...

Zend Gdata - setVisibility for newEventEntry? (specify events for multiple calendars)

Hey everyone, I know that you can use setVisibility('private-abcdefg') for newEventQuery() in order to specify a particular calendar. My question is, can I use the same concept for newEventEntry()? $gdataCal = new Zend_Gdata_Calendar($client); $newEvent = $gdataCal->newEventEntry(); $newEvent->setVisibility('private-**************...

Google Calendar PHP Retrieve events by specified date range

Hey everyone, I know that you can retrieve events for a specified date range, but how can I retrieve events for one specified date (a single day)? I tried setting both setStartMin() and setStartMax to the same date, but that doesn't work. It seems that there has to be at least one day in between Min and Max. Here is the code I am usin...

What to use as foriegn key if no match in the other table - MySQL

I am working on an attendance/overtime module for a schedule web app. The idea is that there is a table in MySQL of shifts, each shift having a start and end time. The manager will choose a shift and make an entry into the attendance table specifying whether the employee was early/late/left early/worked overtime. That entry in the attend...

Do you know a date picker to quickly pick one day of the current week?

Most date pickers allow you to pick the date from a tine calendar or enter the date by hand. For example http://jqueryui.com/demos/datepicker/ This requires - two clicks (one to display the calendar and one to select the correct date) - good eyesight (usually the pop-up calendar is very small) - and good hand-eye coordination to pick t...