Remove Calendar Display in D6

organizedhome - September 1, 2008 - 13:46
Project:Daily
Version:6.x-1.1
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

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)

#1

organizedhome - September 2, 2008 - 13:07

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

#2

EvanDonovan - April 22, 2009 - 16:20
Status:active» needs review

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

<?php
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.

 
 

Drupal is a registered trademark of Dries Buytaert.