Click to See Complete Forum and Search --> : Calendar
hooloovoo24
03-31-2005, 03:04 PM
I need to create a simple calendar to manage events on my page. I was looking into different kinds, and I think this one looks good:
http://www.kamath.com/calendar/default_old.asp
All I need to be able to do is to have certain people who are allowed to update it, but allow everyone to view the events. I wanted something similar to the one at http://www.ci.issaquah.wa.us, but this one looks a lot simpler. However, I really don't know anything about ASP, so I was hoping that someone here could help me out. Would this be a good script for me to use?
lmf232s
03-31-2005, 06:13 PM
well i just downloaded the one from www.kamath.com and set it up and well, basically it sucks.
Its also dated. I came across a message that says it runs best in 4.0 browsers and that version 2 was to be delpoyed on oct 15th, 1999, which i dont think there is a version 2.
There are better ones out there, i just dont know of any off the top of me head. Try a search on this site as i believe this same topice was covered not that long ago and a very good calendar was mentioned, I think.
buntine
03-31-2005, 10:15 PM
Mine seems to work pretty well. I wrote this a long time ago. http://www.buntinedesign.com.au/calendar/calendar.asp
It has all the functionality you have described. I can supply you with all of the source code if you like.
Regards.
hooloovoo24
04-04-2005, 01:55 PM
That's really good, Buntine. I like that a lot except for the size. I didn't really look at it too much, but is there a way to make it smaller? Is it just set up in tables?
buntine
04-04-2005, 08:52 PM
I was going to add a side-app that can reduce the size. I wrote it a while ago and since then have had about 25 requests for the source-code. So, I'm thinking about rewriting it, adding some extra functionality, and making it comercially available. But, at the moment, you cannot make it any smaller.
Regards.
hooloovoo24
04-05-2005, 04:16 PM
Oh...okay. Well...I found this other calendar that I want to use, I think it would be really nice. It's from http://www.warrenstudios.com/applications.htm and it's called the Mondo Calendar. I don't know if I can attach the zip file here, but you can download it from the site. It only has four files: a text file that holds all the events, the .asp page with the calendar on it, a stylesheet, and a VBScript page. I was hoping to get some help with it here, though. What I want to know is if there is any way to make is so that there is no choice about the size. I want it to always be the smallest size, and only have the dates be available to switch. If anyone knows this script or wants to download it specifically to help me...you can. :) Please?
hooloovoo24
04-05-2005, 04:33 PM
I've got as far as this:
<form action=index.asp method=post>
<table border="0" cellpadding="5" cellspacing="2">
<tr>
<td width="180" align="center" valign="top">
<table border="0" cellpadding="1" cellspacing="0" width="180">
<tr>
<th colspan="2">Enter a Date Here:</th>
</tr>
<tr>
<td bgcolor="#efefef"><input type="text" size=10 name=date value="<%'= GetRequest("date") %>"></td>
</tr>
<tr>
<td colspan="2" align="center"><b>Or Use the Select Options...</b></td>
</tr>
<tr>
<td bgcolor="#c5c5d4" align="right">Month:</td>
<td bgcolor="#efefef"><%= BuildDropDown(objDate,"month") %></td>
</tr>
<tr>
<td bgcolor="#c5c5d4" align="right">Year:</td>
<td bgcolor="#efefef"><%= BuildDropDown(objDate,"year") %></td>
</tr>
<tr>
<td bgcolor="#c5c5d4" align="right">Start Day:</td>
<td bgcolor="#efefef"><%= BuildDropDown(objDate,"day") %></td>
</tr>
<tr>
<td align="center" colspan="2"><input type=submit value="Get Calendar"></td>
</tr>
</table>
</td>
<td align="center" valign="top"><b>City Council Calendar</b><br>
<%= WeekdayName(Weekday(Date)) %>, <%= Month(Date) & "/" & Day(Date) & "/" & Year(Date) %>
<%
Response.Write BuildCalendar(objDate,GetRequest("size"))
If GetRequest("view") = "yes" Then
Response.Write BuildCalendar(CDate(GetRequest("date")),"view")
End If
%>
</td>
</tr>
</table>
</form>
Big breakthrough, huh? All I did was erase stuff I didn't want. I know that the line that says: Response.Write BuildCalendar(objDate,GetRequest("size"))
affects the size of the calendar. Even I can assume that much. What I don't know is how to change that line so that it's always small. Maybe I shouldn't have taken out everything, I don't know. I'm just messing around here, really. I haven't saved anything yet, though, so I can fix it if I've made a terrible terrible mistake. Anyone care to save me before I really screw things up?
lmf232s
04-05-2005, 06:44 PM
well i went to there page and looked at the demo. In looking at there source code it looks like all you need to do is supply it with the value small.
So this should work.
Response.Write BuildCalendar(objDate,"small")