Ajax Event Calendar Support Product Page

This topic is locked

OnEventClick go to URL based on Type - Resolved

Asked 17 Jan 2011 22:26:10
has this question
17 Jan 2011 22:26:10 Christie Applegate posted:
Is there any way to modify the OnEventClick behavior to go to a different URL based on the type of appointment?


Replied 18 Jan 2011 09:57:22
18 Jan 2011 09:57:22 Teodor Kuduschiev replied:
Hello Christie,

You can use the Behaviors in Ajax Event Calendar in order to define an onClick -> Go To URL action for every Event Type that you have.

This can be done going to Events Data tab In the bottom you have: Event Types, and you can assign a different action for different event types using the blue paperclip.
Replied 18 Jan 2011 18:07:17
18 Jan 2011 18:07:17 Christie Applegate replied:
That is so awesome!!!! Didn't realize you could do more than one GoToURL on a calendar! Now just have to figure out why the appointment times are not translatiing correctly and make an edit appointment to change an appointment to a missed one!
Replied 19 Jan 2011 00:35:10
19 Jan 2011 00:35:10 Christie Applegate replied:
Okay, I did it. ptadaily.php?EventID=0 is the way I put it in. Did I do it wrong? It worked when I did it but now it doesn't matter what eventID it is, it goes to the 3rd goto. What do I need to do to fix it?
Replied 19 Jan 2011 06:32:26
19 Jan 2011 06:32:26 Christie Applegate replied:
Figured it out! You can set the GoToUrl for each of the event types when you are setting them!

Reply to this topic