remove the 'empty day' div in calendar boxes


/ Published in: PHP
Save to your folder(s)

calendar module's mini calendar includes a needles 'empty day' div in every date cell. this kills them.


Copy this code and paste it in your HTML
  1. /**
  2.  * Format an empty day on a calendar
  3.  *
  4.  * @param day
  5.  * The day to display.
  6.  */
  7. function MYTHEME_calendar_empty_day($curday, $view) {
  8. return '';
  9. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.