Allowing the Public to Add Events
Connect Daily ships with a JSP page that can be used to let the general public add events to the calendar without logging in. You can edit this page to customize the appearance and add instructions unique to your site.
To enable the publicAdd.jsp page, you need to do the following:
- Copy the file webapps/calendar/WEB-INF/misc/publicAdd.jsp to the webapps/calendar directory.
- Ensure you have a full Java SDK installed, not just the JRE. If Connect Daily installed the JRE, you'll need to copy the java tools.jar file into the Tomcat common/lib directory.
- Create a link to the publicAdd.jsp page from your custom header or footer.
Keep these things in mind when using the publicAdd.jsp page.
- The approval status for newly added events will follow the normal rules. In other words, if there are no approvers assigned for the calendar, then items will automatically be approved. If approvers are assigned, the Approvers for the selected calendar will receive the notification that the event was added.
- You should set the configuration option so that unapproved items are not displayed. This will keep the items off the calendar until an approver reviews them. Refer to the topic How can I hide unapproved items?
- The list of available calendars to use will be those calendars the Guest User has the tok_Use permission for. Refer to the help topic Permissions for Anonymous Users (Permissions for Anonymous Users, User Preferences).
- The list of available item types will be those the Guest User has tok_Use permission for.
- You should not enable the system-wide option that allows event descriptions to contain JavaScript. Doing so may allow people to use your calendar to spread viruses or worms.