Weird Request..
4 posts
• Page 1 of 1
Weird Request..I know this may be a bit weird, but is there a way in the Event's calendar to have the link go directly to the edit screen instead of the right side panel view that shows the event details? I have a client that wants the linked event on the calendar to just go to the edit form.
Re: Weird Request..You should be able to do this by overriding the Dataface.Calendar.Event.prototype.getDescription function.
e.g. Create a javascript file "calendar-override.js":
Then Add appropriate javascript files to the head of the document by adding the following to your application delegate class:
(Note this snippet hasn't been tested so undoubtedly contains a few bugs... but this is the right idea). -Steve
Re: Weird Request..Greetings Steve,
Thanks for the quick response. I have been trying to get it to work, this is what I have so far: This is the Application delegate
Here is my JS
Am I doing something wrong here? I am not seeing the change happen in the calendar. I did notice that some interesting path info got set in the generated HTML.
Re: Weird Request..Hard to say what is going wrong... overriding the entire drawMonth method may be more extreme than necessary. Is overriding just the description not sufficient?
4 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 21 guests |