Downloads ⇒ CPGNuCalendar ⇒ CPG Dragonfly™ CMS


Main | Details | Download Now | History | Statistics

Add your mirror to this download

Category Old v9Modules v9Community
Submitted by khenn
Author's Name Kris Henneman » Phoenix updates
Version 2.2.1
Compatibility 9.3
License GPL
Published Thu Jul 21, 2005 1:40 pm
Mon May 07, 2012 11:02 am

CPGNuCalendar is a very powerful yet easy to use calendar system for use within DragonflyCMS. This calendar will display daily, weekly, monthly and yearly calendars. Events can be added as one-time events, or as repeating events. RSS feed available.

Repeating events can repeat by date or by date. If you are familiar with adding events to an outlook calendar, this calendar should be very easy for you to use. Below is a list of the main features in version 2.0.
  • Easy installation and ability to upgrade from version 1.09. See the included install.txt located in the zip file for important upgrade information.

  • Complete administration console to configure all calendar settings.

  • Category Manager to manage event categories and set up defaults for events that are added to those categories.

  • Administrative event approval - if configured, a calendar administrator must approve all publicly visible events before they are posted to the website.

  • Users who have the ability to add events can create private events that only they can see.

  • Secured events - The event owner can define which group of users can see the event.

  • Calendar is pre-loaded with 25 US holidays/events. These holidays must be approved by the calendar admin before they will actually be viewable on the calendar.

  • Individual repeating event dates can be cancelled. Example: If you create a weekly repeating event like a meeting, but for some reason one of the future dates needs to be cancelled, you can select just that date and delete it. This action will remove only the event for the specific date from the calendar.

  • Repeating events can have different descriptions for each date. Example: Create a repeating event with a default description. Then for a later date of that event, you can modify the name or description just for that date, but all other properties of the event remain the same.

  • Provision for Group to edit/delete events as well as admin.

  • Server time base is selectable through admin, for PHP5 only.

Editor's Note:
Requires PHP5.

Member reviews

Review #332: Good Events problem still a bummer
by heroicimages on

I implemented Chael's changes, and... nothing. The exact same problem persists. I'd love to have my users contributing to this calendar, but telling them to "be sure to mark your event as a recurring one and then set it to end on the same day as it begins..." seems awfully confusing.

But for my own use, it's really a nice module. It's obvious a lot of time and love went into it, and I still think that one of you brilliant people can figure out a way to make it work 100%! not worthy

Review #285: Very good Very Good - but I have trouble
by mameghji on


Nice Cal - with wicked features. I have one problem though. I cannot seem to see the "Coming Events Block" anywhere within my screen when im logged on to my system. Is there something I am missing and need to enable through admin?

Review #280: Very good Simply Wonderful - but....
by ksawatzk on

As a newbie to cms (not new to web design & coding), this calendar fit exactly what I was hoping to find! The "coming events" block is perfect for a band website.

One problem - while adding events to this year, the large monthly calendars display the events EXCEPT for Dec. 2006. The event links show in the small monthly calendars, and the events are listed when you click the day. They just aren't there on the large monthly.

Thx much!

Review #279: Very good Works well after a couple of minor fixes
by Chael on

I'm pretty happy with this calendar system. However, I do have one request and two bug fixes... It would be helpful to be able to move an event to another day or clone it onto another day. I find myself frequently creating an event on the wrong month and having to re-create it in the correct month or drop to the MySQL command line to make the change.

On to the fixes... I have made the following minor modifications to my running instance of CPGNuCalendar to fix some issues I identified:

Issue #1: When the current day is greater than the last day in the next/previous month and you try to switch to that month's view it complains that the date is invalid and won't display the calendar.

Solution: Edit modules/CPGNuCalendar/index.php and add &day=1 right after &view=month on line 161. The new line should read:


Issue #2: Non-recurring events sometimes do not show up on the month view calendar. They do show up on day, week, and year views.

This was frustrating and difficult to track down, but I finally determined that the SQL query for non-recurring month events had the wrong date filter.

Solution: Edit modules/CPGNuCalendar/index.php and modify the code starting at line 1618. Note that $nextday, $prevday, $month_ago, and $month_ahead are never used, so I removed them. The new code should read:

// "next" refers to next month in this context
$next = adodb_mktime ( 2, 0, 0, $thismonth + 1, $thisday, $thisyear );
$nextyear = adodb_date ( "Y", $next );
$nextmonth = adodb_date ( "m", $next );

// "prev" refers to previous month in this context
$prev = adodb_mktime ( 2, 0, 0, $thismonth - 1, $thisday, $thisyear );
$prevyear = adodb_date ( "Y", $prev );
$prevmonth = adodb_date ( "m", $prev );

A few lines further down, change $thisyear to either $prevyear or $nextyear as below:

//if view = month, need to get previous, current and next months data to populate the large and 2 small calendars for the month view.
$startdate = sprintf ( "%04d%02d01", $prevyear, $prevmonth );
$enddate = sprintf ( "%04d%02d31", $nextyear, $nextmonth );

I hope these fixes get rolled into the official version so everyone can enjoy them.

Review #151: Very good Very Good
by speedybiker on

This worked without too much trouble. It's like the module I used in phpnuke. Very Happy

Page: Previous  1, 2, 3, 4, 5  Next
User Info

Welcome Anonymous


Support for DragonflyCMS in a other languages: