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


Login with username, password and session length

Search

 
Advanced search

8054 Posts in 1860 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationCustomizing CalendarScript (Moderators: scott, DanO, Marty)minical for 60 days or two different mincal calendars
Pages: [1]   Go Down
Print
Author Topic: minical for 60 days or two different mincal calendars  (Read 970 times)
0 Members and 1 Guest are viewing this topic.
newtech
New Member
*

Karma: 0
Offline Offline

Posts: 28


« on: August 24, 2007, 11:01:44 PM »

I am wanting to have on one page two minicalendars for two different months, i.e. minical for August and a minical for Sept. Is there anyway to do this?

Or have a minical that shows 60 days (I tried various parameters with no luck.)

And or a 30 day minicalendar that has previous and after links, i.e. the minicalendar is for August. A person can click an arrow for July or an arrow for Sept. The default minicalender does this except it takes them out fo the page they are on. I woulld like it so that when they click on previous or after it opens up a minical on the same page-replaces the existing minical with teh new minical.
« Last Edit: August 24, 2007, 11:19:27 PM by newtech » Logged
newtech
New Member
*

Karma: 0
Offline Offline

Posts: 28


« Reply #1 on: August 25, 2007, 12:05:56 AM »

One other thing.
Currently I am using the minical.html. I am wanting the days of the week to be black instead of white. I have changed every refence of a font style to have black as teh font color with no luck.

With testing it appears this is the code where I would change the color for the dates, but it stays white. What's up?
<%/FOREACH%>
<td valign=TOP width="14%" bgcolor="<%=$color%>"><font face="Verdana, Arial, Helvetica, sans-serif" color="black" size="1">
<%$linkday = $DAY->{'dd'};%>
<%$linkday =~ s|^(\d)$|0$1|;%>
<%$MONTH =~ s|^(\d)$|0$1|;%>
<a href="mydomain/cgi-bin/calendar.pl?view=Day&datestring=<%=$YEAR%><%=$MONTH%><%=$linkday%>"><%=$DAY->{'dd'}%></a>


Logged
newtech
New Member
*

Karma: 0
Offline Offline

Posts: 28


« Reply #2 on: September 02, 2007, 10:33:15 PM »

When there is a linked day (an event for a day) the link is white with a yellow background. How can I make that link be black instead of white?
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 235

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: September 03, 2007, 01:26:56 PM »


When there is a linked day (an event for a day) the link is white with a yellow background. How can I make that link be black instead of white?

If I'm not mistaken, normally the minical's link colour is taken from the web page it is displaying on's <body ...> tag attribute. The only colours specified in the template itself is for the grid backgrounds. If you wanted the links of that template different than the page it is displaying on, you could try adding HTML font tags with the appropriate colour specification to the following line of the template.

<a href="<%= $CGI_URL_QUERYSTRING %>view=Day&datestring=<%=$YEAR%><%=$MONTH%><%=$linkday%>"><%=$DAY->{'dd'}%></a>


JMO

Dan O.
Logged
Pages: [1]   Go Up
Print
Jump to: