Results 1 to 3 of 3

Thread: Zimlet hook for viewing calendar appointment item

  1. #1
    Join Date
    Apr 2008
    Location
    Vancouver, BC
    Posts
    54
    Rep Power
    7

    Default Zimlet hook for viewing calendar appointment item

    ZmZimletBase gives us several hooks, like onMsgView, onContactView, etc. but there doesn't appear to be a similar hook for viewing a a calendar appointment item (onAppointmentView?). I can use onShowView to detect when the appointment view is brought up, but I don't have access to the appointment object.

    Background: I need to modify the UI when a user edits an event for which they are an invitee but not the organizer. ZmCalItemView.js: traps for this by checking item.isOrg, but I can't do that without access to the appointment object.
    Graham Ballantyne
    Simon Fraser University

  2. #2
    Join Date
    Sep 2005
    Posts
    187
    Rep Power
    10

    Default

    You actually don't need a hook, there is another way to get that triggered. Check out the logic in latest version of StickyNotes - which works in Calendar and Contacts along with Mail.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    Join Date
    Apr 2008
    Location
    Vancouver, BC
    Posts
    54
    Rep Power
    7

    Default

    Quote Originally Posted by rrao View Post
    You actually don't need a hook, there is another way to get that triggered. Check out the logic in latest version of StickyNotes - which works in Calendar and Contacts along with Mail.
    Any hints on where I should be looking? My eyes have started to glaze over by this time in the day
    Graham Ballantyne
    Simon Fraser University

Similar Threads

  1. Zimlet: Consuming calendar entries
    By joshm in forum Zimlets
    Replies: 3
    Last Post: 10-18-2012, 06:26 AM
  2. Replies: 0
    Last Post: 07-06-2010, 11:30 PM
  3. Replies: 6
    Last Post: 03-05-2010, 12:13 AM
  4. Samba and POSIX undeploy problem
    By catnipper in forum Zimlets
    Replies: 0
    Last Post: 09-02-2009, 10:51 AM
  5. Replies: 0
    Last Post: 08-04-2008, 07:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •