Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Minical customizations  (Read 258 times)
0 Members and 1 Guest are viewing this topic.
TotalHosting
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: February 18, 2004, 01:05:00 PM »

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

Logged

Pages: [1]   Go Up
Print
Jump to: