Getting Started Guide
Need help installing Zap Calendar? Click here for a tutorial on installing Zap Calendar, or find out how to add additional functionality to your Zap Calendar installation with the over a dozen plugins and modules available for Zap Calendar.| The More Info Plugin |
|
|
|
| Tuesday, 30 March 2010 20:38 |
|
Plugin Name: More Info Purpose: To display additional information about an event. By default, this plugin adds a contact name, phone # and e-mail address. Additional fields can be added. Configuration: After installing and enabling the plugin, you can either customize the current field layout or you can begin to use the plugin in your events immediately.
To use the plugin: No further configuration is needed. You can enter data in the new fields in either the front or back end interfaces. The new data fields will appear in the "More Info" plugin section.
To customize the plugin: The plugin utilizes three files in the "plugins/zapcalendar/moreinfo/" folder to support the more info plugin: "event.xml", "event.php", and "event.js" . These files correspond to XML defined fields, server-side php data verification, and client-side JavaScript data verification, respectively. Modify these files to add, edit or remove event fields, or use the back-end editors in the admin tools section. The XML file, "event.xml", contains information about the more info fields, including field name, type and width. The PHP file, "event.php", allows for a server process to run to verify the data prior to saving the event. The JavaScript file, "event.js", allows for the browser to verify the data prior to sending the data to the server. The included files show how this is accomplished with the contact fields. The admin tools screen found in the Zap Calendar administrator control panel provides a text editor for editing each of these files as well as a button to reset the file back to its initial contents.
Other Notes: If you are not familiar with writing PHP or JavaScript code, you can contact Z Content and have us add the custom data fields for a small fee.
|
| Last Updated on Wednesday, 31 March 2010 05:44 |



