Drupal Calendar -- Click Day to Add New Node From Month ViewCalendar Page

Drupal Calendar -- Click Day to Add New Node From Month ViewCalendar Page

Problem:

Clicking a day-block within a Drupal calendar page does not provide an easy way to add new events, as one might expect in a modern web interface.

Solution (hack):

- Install and patch the Prepopulate module to handle date fields. This allows for the passing of dates from the calendar into a "Node Add" form using URL paramaters. A new "Add Event" URL can be created for each day on the calendar view page.

- Copy the calendar template file calendar-datebox.tpl.php into the theme directory and reformat things to handle the new Preopulate values.

- Be sure to check a user's role and only display the new "Add Event" link for members of selected roles.