Regarding other calendars...If I understand your request, you want to "personalize" the reminder to a specific calendar. I think this is already accounted for. The link that is created by the script and included in the email uses 'HTTP_REFERRER' as its setting.
This method ensures that any parameters that call specific calendars (calendar=name) or template (template=new.html) are captured. So, when the visitor receives the email, the link brings them back to the correct calendar or calendar template.
If you want to personalize the email address to reflect the calendar, that will take a bit of work, but not much. I could parse the parameter in the HTTP_REFERRER to set the email name. If "name" exists, then email = name@domain.com, if name doesn't exist, then email = events@domain.com.
Something like that.
Did this answer your question? Let me know. It would help if you sent me a link or two to check out.
- Michael
BTW- There are updated instructions for the CSR plug in. You must add ' &datestring=<%=$DAY->{datestring}%> ' to the two ViewEvent links. In the default calendar, they appear on lines 191 and 224. See the instructions (http://www.estigoy.com/csremind) for detailed overview.
If you've already added the datestring attribute to your calendars, then this step can be skipped.
------------------ michael@estigoy.com http://www.estigoy.com/csremind
[This message has been edited by michaelest (edited December 20, 2002).]
I would send you a URL but the web server is on our private IP domain space so you wouldn't be able to get to it. I'll do some more de-bugging on this end too. Keith
Thanks for the info. I'll install the dayspan templates and see if I can recreate the bug. Unfortunately, I won't be able to devote much time to this until Sunday morning. I'll post what I find.
As a thought, do you think you're getting the error because it's trying to write to the data file in the cgi-bin directory? If you don't know where to change the file paths, let me know and I'll post the code to change.
*I'm also working on a 1.1 update that will include the ability to add the event to your Outlook Calenar (or other Vcalendar application - like Palm Desktop). You click the link, and it adds the event to your Outlook Calendar automatically. Since you're on an internal network, do you think this would be useful?
- michael
Good initiative!But sorry, it dosn't work in Opera 6.4 (and therefore maybee not in other browsers to?)Think it is not W3C ok :-(
Hope you will find out.
------------------
I did not install your plugin.Just tried your demo at your homepage.Worked fine in IE, but nothing happend in Opera when I clicked the link.
Thanks for the feedback.
I just found the issue and fixed it. Using Opera 6.05 I was able to successfully go through the demo. The same issue was apparent in Netscape 4.7.
The variable for the CGI_URL was not resolving correctly with these browsers.
I added an extra line to the CONF file so that the url to the script is expressly defined.
Try it again and let me know.
Thanks again,
Michael
print "
Notice I added calendar=$calendar before the view=Event. Now this takes me to the appropriate screen to set the reminder.
Where is the chunk of code located that the program goes to when you click the "Set Reminder" button? I'll look around some more for it but have not found it as of yet.
Keith
The issue with Netscape and Opera was that they weren't resolving the $CGI_URL variable. I modified the script and the conf file to include a $url_to_script variable that expressly defines the link. Hopefully this fixes the issue you referenced. V1.02 is available on my site.
Regarding the "Chunk of Code" when "set reminder" is selected, notice that it sends a parameter "set_reminder=yes". This flag causes the code to reference the 'sub csr_write_file' routine, and then the the 'sub csr_confim' routine is called.
Near the top of the 'display_after_getEvent' routine, you'll notice a bunch of "if" statements. Some of these check to see if a certain parameter is included in the query string (eg. "If ($csr_q->param('name'))" [ if this parameter exists in the query string].)
Hope that made sense.
BTW: I have a Setup screen working and also have a "add to Outlook" feature (vCalendar) in beta. I'll most likely release a 1.5 version within the next 2 weeks.
Garry
Others have suggested this and I guess I could look into it.
Help me with the application of having the Remind function in the Add event routine...
During the Add Event routine, I can envision two needs for the reminder feature being there:1. to enter a list of email addresses of people that you want to remind automatically, and,2. to allow "display / no display" of the reminder function for that particular event.
Are there other scenerios that I'm missing or not thinking of? Please let me know.
My current view is that, as an end user, I don't know which event I'll be attending until I actually read the details of the Event. Then, I can decide to be reminded of it.
If some events had reminders, and others didn't, I'm concerned that the end user would be a bit confused.
Let me know your particular scenario and I'll evaluate it for a future upgrade.
I'm in the process of wrapping v1.05 of CSR - this will include a set up screen in the Admin control panel, as well as an "add to calendar" feature (where the user can download a .vcs file for importing into Outlook, Palm or other Calendar application/device.)
This includes a lot of code changes, and addresses the path issues in previous versions.
Added:- Save to Calendar feature (vCalendar format - download and import into Outlook, Palm, etc.). IE users can save directly to Outlook.- Admin Control Panel Setup- External Templates for dialogs
Let me know how it goes. I've tested it in IE 6.x, Netscape 7 and 4.7, and Opera 6.5.
Revised instructions and package at http://www.estigoy.com/csremind .
[This message has been edited by michaelest (edited December 24, 2002).]
quote:Revised instructions and package at http://www.estigoy.com/csremind.
see http://www.estigoy.com/csremind (without the trailing period)
JFYI: If you enter a URL in this forum, be sure to leave a space after it or the period [or whatever] will be included in the link the forum makes with it.
Dan O.
[This message has been edited by DanO (edited December 24, 2002).]
Thanks for the URL in Forum tip.
BTW, I just revisted the modification Keith did to the link - adding the 'calendar=$calendar' parameter. I should have snuck that in before this morning.
I've added the 'calendar=$calendar' change, and subsequently added it to the link that gets sent with the reminder email.
For those of you who have already downloaded it, this modification is used if you are using multiple calendars (other than one default).
Thanks Dan O & Keith!