Maurice
David
------------------ http://www.csworkbench.com/" TARGET=_blank>http://www.uabcm.com/http://www.csworkbench.com/
It makes sense to me that if you're viewing July 10th, for example, and you go to the month view, that July 10th should be highlighted to show you where you were. But if that's not how most people see it, I could change it perhaps
------------------ScottCalendarScript.com
This is/was a feature that I liked and hope to have it return soon.
Thank youMaurice
Thanks,
Ogs
quote:Has anyone worked on a mod to change this functionality?
Look at the lines in the default.html template file following <!-- THIS IS THE ACTUAL DISPLAY AREA -->. The part that needs changing is:
<%IF SELECTED%><%=$_GRID_CELL_SELECTED_BGCOLOR%>
(there's code before and after it on the same line}
Dan O.
------------------
[This message has been edited by DanO (edited September 02, 2002).]
code:<TD CLASS="thinborder" VALIGN=TOP WIDTH=14% <%=$rowheight%> BGCOLOR="<%if ($TODAY_DATE == $DAY->{'dd'} && $TODAY_MONTH == $MONTH && $YEAR == $TODAY_YEAR) {%><%=$_GRID_CELL_SELECTED_BGCOLOR%><%}else{%><%=$_GRID_CELL_BGCOLOR%><%}%>">
<TD CLASS="thinborder" VALIGN=TOP WIDTH=14% <%=$rowheight%> BGCOLOR="<%if ($TODAY_DATE == $DAY->{'dd'} && $TODAY_MONTH == $MONTH && $YEAR == $TODAY_YEAR) {%><%=$_GRID_CELL_SELECTED_BGCOLOR%><%}else{%><%=$_GRID_CELL_BGCOLOR%><%}%>">
[This message has been edited too many times by DanO ]
I understand that the new code checks to determine the current day, and color it, but where is the actual color specified?
To clarify, I am removing:
code:<TD VALIGN=TOP WIDTH=14% <%=$rowheight%> <%IF SELECTED%>BGCOLOR="#FFFFCC"<%/IF%>>
<TD VALIGN=TOP WIDTH=14% <%=$rowheight%> <%IF SELECTED%>BGCOLOR="#FFFFCC"<%/IF%>>
and replacing it with:
code:<TD VALIGN=TOP WIDTH=14% <%=$rowheight%> BGCOLOR="<%if ($TODAY_DATE == $DAY->{'dd'} && $TODAY_MONTH == $MONTH && $YEAR == $TODAY_YEAR) {%><%=$_GRID_CELL_SELECTED_BGCOLOR%><%}else{%><%=$_GRID_CELL_BGCOLOR%><%}%>">
<TD VALIGN=TOP WIDTH=14% <%=$rowheight%> BGCOLOR="<%if ($TODAY_DATE == $DAY->{'dd'} && $TODAY_MONTH == $MONTH && $YEAR == $TODAY_YEAR) {%><%=$_GRID_CELL_SELECTED_BGCOLOR%><%}else{%><%=$_GRID_CELL_BGCOLOR%><%}%>">
Suggestions?
thanks!~cp