Here is a simple Jotlet.net Calendar plugin that lets you show and edit any or all of your Jotlet.net calendars on your Clearspace community, homepage, or project pages.
The simple example code here illustrates:
Basics of plugin development, including i18n properties files
plugin.xml -- Plugin descriptor required by Clearspace.
src/plugin_i18n.properties -- for simple internationalization
src/com.jivesoftware.community.widget.impl.JotletCalendarWidget.java -- The Jotlet Calendar widget class
Deploying the Plugin
To deploy the plugin manually, you can do that in one of two ways:
Just copy the plugin JAR file into the <jiveHome>/plugins directory. Your running Clearspace instance will deploy it automatically.
Open the admin console and navigate to System > Settings > Plugins, then browse for your plugin JAR file.
Viewing the Plugin
After installing the plugin, personalize your homepage and drag the Jotlet Calendar widget to a column
Edit the widget properties, and enter in your Jotlet.net API Key
Save the properties and save your homepage, enjoy!
Copyright and Licensing
Copyright 2008 Jive Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.