Hi SnooP, The url to your secondary calendar should look something like this:
http://www.google.com/calendar/feeds/[ID]/private/full you replace [ID] with the actual calendar ID. You can look up this id from your Calendar UI - 1) Go to Google Calendar 2) Click on "Setting" on the upper right corner 3) Select the tab "Calendars" 4) Click on the name of the secondary calendar 5) You will see an entry that says "Calendar address", and to its right there is the calendar id Austin On Oct 23, 4:04 pm, SnooP <[EMAIL PROTECTED]> wrote: > Thanjks for your answer ! > > I want and try to insert event in a secondary calendar and for that > i'm trying to implement your methode (set the secondary parameter) but > unsuccessfully ... > > I've an error in the method (Zend/Gdata/App.php on line 432) so that > the adress of the secondary calendar is > false ... (I think) > > On 22 oct, 20:22, "Austin (Google)" <[EMAIL PROTECTED]> wrote: > > > > > Hi Snoop, > > > I am not sure I understand perfectly the problem you are describing. > > Are you trying to insert events into primary calendar? if that is the > > case, there is no need to supply a second parameter to insertEvent(). > > If I have misunderstood your question, please let me know > > > Austin > > > On Oct 20, 4:21 pm, SnooP <[EMAIL PROTECTED]> wrote: > > > > Hello, i'm try to use your help, but it don't works in my code... > > > > If i put any secondary parameter, it works but in my default calendar > > > (normal), but when i specify the secondary parameter (the xml private > > > adress of the secondary calendar) it don't works, I've an error in the > > > method (Zend/Gdata/App.php on line 432) so that the adress is > > > false ... > > > > have you an idea ?? Thanks > > > > On 19 oct, 05:28, K Cal <[EMAIL PROTECTED]> wrote: > > > > > Hi Austin > > > > > That worked. Thank you > > > > > KC > > > > > On Oct 18, 1:41 pm, "Austin (Google)" <[EMAIL PROTECTED]> wrote: > > > > > > Hi KC, > > > > > > To insert an event into a secondary calendar, you code it the same way > > > > > as you would for primary calendar > > > > > >http://code.google.com/apis/calendar/developers_guide_php.html#Creati... > > > > > > but with the addition of a second parameter to insertEvent() method. > > > > > When the second parameter is not supplied it is by default assumed to > > > > > be inserting to primary calendar. Therefore you would add a second > > > > > paramater to specify your secondary url, ie > > > > > > $calUri = 'http://www.google.com/calendar/feeds/ > > > > > [EMAIL PROTECTED]/private/full'; > > > > > $createdEvent = $gdataCal->insertEvent($newEvent, $calUri); > > > > > > Hope it helps, > > > > > Austin > > > > > > On Oct 17, 8:22 pm, K Cal <[EMAIL PROTECTED]> wrote: > > > > > > > Hello > > > > > > > I am trying to create an event in the non-default calendar. I am > > > > > > trying to follow the procedure > > > > > > inhttp://groups.google.com/group/google-calendar-help-dataapi/browse_th... > > > > > > > and > > > > > > >http://groups.google.com/group/google-calendar-help-dataapi/browse_th... > > > > > > > but to no avail. I tried both > > > > > > > $newEvent->setId($id); > > > > > > $gdataCal->setId($id); > > > > > > > but both of them throw errors. I would really appreciate if someone > > > > > > posts an example code or pseudo code with the methods/member > > > > > > variables > > > > > > that need to be set. > > > > > > > Thank You > > > > > > > KC- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
