Hi All.
How do I get the date abbreviations (S, M, T, etc.) to appear above the columns on the minical?
Is there a way to hightlight the current date in the minical display?
Here is my code:
code:
<% &getEvents( { 'range'=>'month' } ); %>
<%$color="yellow";%>
<table border=0 cellpadding="3" cellspacing="4" width="150">
<tr>
<td align="center" colspan="<%=$Grid->{'colcount'}%>"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1">
<A HREF="<%=$CGI_URL%>?calendar=<%=$in{'calendar'}%>">Click for <%= $MONTH_NAME %> <%= $YEAR %> Calender</font> </td>
</tr>
<tr> <%FOREACH GRID COLUMN%>
<th><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><%= $Grid->{'dayabbreviation'}->[$COL] %></font></th>
<%/FOREACH%> </tr>
<%FOREACH GRID ROW%>
<tr><%FOREACH GRID COLUMN%>
<%IF DISPLAY%>
<%$color=white;%>
<%FOREACH EVENT%>
<%$color=Yellow;%>
<%/FOREACH%>
<td valign=TOP width="14%" bgcolor="<%=$color%>"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">
<%$linkday = $DAY->{'dd'};%>
<%$linkday =~ s|^(\d)$|0$1|;%>
<%$MONTH =~ s|^(\d)$|0$1|;%>
<a href="<%=$CGI_URL%>?calendar=<%=$in{'calendar'}%>&selected_datestring=<%=$YEAR%><%=$MONTH%><%=$linkday%>&datestring=<%=$YEAR%><%=$MONTH%>& lt;%=$linkday%>&view=Day"><%=$DAY->{'dd'}%></a>
<%ELSE%>
<td valign=TOP width="14%" bgcolor="white"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">
<%/IF%></font></td>
<%/FOREACH%> </tr>
<%/FOREACH%>
</table>
TIA
Pete
Total Hosting
------------------
Pete
http://www.TotalHosting.com