Frodo, I'm loving your daily module for my holiday tips of the day, EXCEPT for the calendar display.

The .CSS method outlined here (node 224151)

I've tried adding the .CSS statement to daily.css, as well as to my theme's .css file, but the calendars just stay put.

Is there a hack to simply remove the display?

Alternately, I agree with the poster in node 224151--it would be a lovely feature to have the calendar display limited by role.

Thank you for your help. I appreciate all your hard work.

Cynthia

Comments

Cynthia Ewer’s picture

Sorry--looks like I made an error listing the URL, and now most of the original post is gone.

What I meant to say is that I 'm having no success using the .CSS file to exclude the calendar.

Is there another hack to prevent the calendar display?

Thank you.

Cynthia

EvanDonovan’s picture

Status: Active » Needs review

As per http://drupal.org/node/341628, try adding the following function to your theme's template.php file:

function themename_daily_calendar_month($data) {
  $output = "";
  return $output;
}

Make sure to change themename to the name of your theme (which is the name of the directory that it lives in).

You'll have to rebuild the theme registry before the changes will take effect. You can do so by visiting the modules page (admin/build/modules), or by clearing the cache.

EvanDonovan’s picture

Status: Needs review » Fixed

This has worked for me for the past year. Setting to "fixed".

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.