|
Project Information
Featured
Downloads
|
OverviewThe Wordpress Google calendar plugin allows for the integration of a Google calendar into a Wordpress blog. We are currently at release 0.8.5. You can download it at the right ===>. For release notes, please see the change log. InstallationThis section describes how to install the plugin and get it working.
The plugin-in requires a valid Google GDATA API key. Only one calendar can be associated with the plug-in (want more?, request an enhancement). NOTE: The API key must correspond to your domain URL. Read this snippet from the Google API site for more information: A key is associated with a website. If you want to use the JavaScript client library on another site, you should obtain another key for that site. More specifically, a key is associated with the URL that you enter on the signup page; the key applies to all URLs under the domain or directory that you specify. NOTE: It is also important to note that you must use the full version of the Google calendar. By default, the address to the calendar will point to the basic format. Change basic to full in the URL in order to have the plugin work correctly. Displaying The CalendarCalendar data can be displayed in three ways: As a widget in the sidebarThe simplest way to incorporate the calendar is to use the WPNG Calendar widget. The widget is installed as a part of the plugin-in, so you already have it. Use this widget like any other widget, drag-n-drop it into the sidebar where you want the calendar to appear. Once the widget is there, you can customize the Title shown in the sidebar and the number of events that are displayed. Access these values in the widget's options panel. As a pageCalendar data can also be embedded within a Page. The page will initially list data starting with the current date. The amount of data shown in the page will depend on the value you enter in the custom fields' value box. At the bottom of the page, links will be displayed to allow the user to navigate to the next interval of data. To embed a calendar into a page, follow these steps:
Displaying an eventWhether clicked from the side bar or from a page, each event can be displayed within its own modal DIV. The event view will show all details that are available from the Google calendar for that particular calendar entry. As an option, you can choose to render the description field of an event using wiki markup. The markup syntax is similar to most common wiki markup languages. For more information, see the Wiki formatting page. FormattingWe made every attempt to make the calendar integrate with themes as much as possible. If you do have a need to edit the style of event lists or the ThickBox dialog, you can use the following:
You can update the size of the modal, but alter this line in the functions.js: /* add the div to my modified ThickBox function */
tb_show_inner("",entryDiv.innerHTML,"height=500&width=500");ScreenshotsCalendar In A Page & As A Widget
Displaying An Event
Plugin Configuration
Widget Configuration
Special ThanksThis is our first plug-in and required a lot of Google time. A few articles and sites really helped to get this going. We would like to point out those brave individuals who blazed the Wordpress plug-in trail long before us: Creating A Plug-InRonald Huereca - http://www.devlounge.net/extras/how-to-write-a-wordpress-plugin Creating A WidgetMason Wolf - http://hiremasonwolf.com/plugin-to-widget/36 Date Maniuplation MagicThe Coolite Crew - http://www.datejs.com Wiki Rendering With JavaScriptStefan Goessner - http://goessner.net/articles/wiky/ ThickboxCody Lindley - http://jquery.com/demo/thickbox/ |