diff --git a/www/drupal5/calendar/Makefile b/www/drupal5/calendar/Makefile new file mode 100644 index 00000000000..64f3bb1f62f --- /dev/null +++ b/www/drupal5/calendar/Makefile @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/02/18 18:59:17 espie Exp $ + +COMMENT = calendar view + +DISTNAME = calendar-5.x-1.7 +PKGNAME = drupal5-calendar-1.7 + +RUN_DEPENDS = ::www/drupal5/views \ + ::www/drupal5/date + +.include diff --git a/www/drupal5/calendar/distinfo b/www/drupal5/calendar/distinfo new file mode 100644 index 00000000000..a4ca6e98495 --- /dev/null +++ b/www/drupal5/calendar/distinfo @@ -0,0 +1,5 @@ +MD5 (drupal5/calendar-5.x-1.7.tar.gz) = BVrNU7TRpnfIPBvkAzBXug== +RMD160 (drupal5/calendar-5.x-1.7.tar.gz) = k8RUdK9J8yiTNqFbMrvGZI+LeUo= +SHA1 (drupal5/calendar-5.x-1.7.tar.gz) = 2wKwSVMWhFls8B7sfGlz/ry9gE8= +SHA256 (drupal5/calendar-5.x-1.7.tar.gz) = SwRLTV0pJG5KFgqy06/D2XW0MDEt32T/qt4D5lZX004= +SIZE (drupal5/calendar-5.x-1.7.tar.gz) = 42961 diff --git a/www/drupal5/calendar/pkg/DESCR b/www/drupal5/calendar/pkg/DESCR new file mode 100644 index 00000000000..c78d294cc01 --- /dev/null +++ b/www/drupal5/calendar/pkg/DESCR @@ -0,0 +1,34 @@ +This module will display any Views date field in calendar formats, +including CCK date fields, Event module event fields, node created +or updated dates, etc. Switch between year, month, and day views. +Back and next navigation is provided for all views. + +Note that calendar is a bit difficult to set up correctly, but it is +fairly useful. + +Setup: + + * Select the Calendar display as the page type for your view. +If you want to have a mini calendar available in a block, select +the Calendar display as the block type as well as the page type. + + * Add any fields you want to display on the calendar as fields +to the view. Be sure to include fields that contain the dates that +need to be shown on the calendar. Date fields can include CCK date +fields, event start and end dates, or dates like the node created +or updated dates. If you use CCK date fields, set them to 'Do not +group multiple values' so each value will display in its own date +box. + + * Add three arguments to the view: Calendar Year, Calendar +Month, and Calendar Day, in that order. Set each of them to 'Display +All Values'. + + * Add sorts to the view for each date field so the dates are +sorted correctly. + + * In most cases, add a Node: Type filter to filter the view by +the content types that contain your selected date fields. The default +view has a Node: Type filter that selects all node types. Change +it to select only the node types you want in your calendar. + diff --git a/www/drupal5/calendar/pkg/PLIST b/www/drupal5/calendar/pkg/PLIST new file mode 100644 index 00000000000..99c8af6f13a --- /dev/null +++ b/www/drupal5/calendar/pkg/PLIST @@ -0,0 +1,17 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/02/18 18:59:17 espie Exp $ +@owner www +@group www +${DRUPAL_MODS}/calendar/ +${DRUPAL_MODS}/calendar/CHANGELOG.txt +${DRUPAL_MODS}/calendar/LICENSE.txt +${DRUPAL_MODS}/calendar/calendar.css +${DRUPAL_MODS}/calendar/calendar.info +${DRUPAL_MODS}/calendar/calendar.install +${DRUPAL_MODS}/calendar/calendar.module +${DRUPAL_MODS}/calendar/calendar.theme +${DRUPAL_MODS}/calendar/calendar_admin.inc +${DRUPAL_MODS}/calendar/calendar_api.inc +${DRUPAL_MODS}/calendar/calendar_ical.info +${DRUPAL_MODS}/calendar/calendar_ical.install +${DRUPAL_MODS}/calendar/calendar_ical.module +${DRUPAL_MODS}/calendar/readme.txt