The code in the default.html template file responsible for colouring the grid cells is:
<TD CLASS="thinborder" VALIGN=TOP WIDTH=14% <%=$rowheight%> BGCOLOR="<%IF SELECTED%><%=$_GRID_CELL_SELECTED_BGCOLOR%><%ELSE%><%=$_GRID_CELL_BGCOLOR%><%/IF%>">
(all on one line)
You could try changing it to something like:
<% $Grid_day = $DAY->{'yyyy'} . sprintf("%02d",$DAY->{'mm'}) . sprintf("%02d",$DAY->{'dd'}) ; %>
(all on one line)
Followed by
<TD CLASS="thinborder" VALIGN=TOP WIDTH=14% <%=$rowheight%> BGCOLOR="<% if ($TODAY_DATESTRING > $Grid_day) { %>#808080<% } elsif ($DAY->{'selected'}) { %><%=$_GRID_CELL_SELECTED_BGCOLOR%><% } else {%><%=$_GRID_CELL_BGCOLOR%><% } %>">
(all on one line)
Which (if works) should change the background colour of past dated cell grids to #808080. (you could use #000000 to black them out, etc.)
This code is UNtested so make sure you keep a backup of original files.
Dan O.
------------------
July 25, 2003 - Corrected typo noted in the message below.
------------------
[This message has been edited by DanO (edited July 25, 2003).]