Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Drop-down month and date in events calendar
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

macho
Junior Member

Denmark
150 Posts

Posted - 28 July 2002 :  06:30:15  Show Profile
Hi.

When you add an event in http://www.forumsquare.com/ (great site), you get a drop-down list with months, dates and years. I would like to use this function, just select the month, date and year, instead of typing it manually, eg. 7/28/02.

Can anyone tell me how to implement this into my calendar?

regards



Edited by - macho on 28 July 2002 09:26:32

crash
Advanced Member

Netherlands
2064 Posts

Posted - 28 July 2002 :  09:35:13  Show Profile  Visit crash's Homepage
add this code where you want the dropdowns to appear.

a simple example of the day:

<SELECT NAME="day">
<OPTION VALUE="" SELECTED>Day</OPTION>
<OPTION VALUE="1">1</OPTION>
<OPTION VALUE="2">2</OPTION>
<OPTION VALUE="3">3</OPTION>
etcetera
<OPTION VALUE="31">31</OPTION>
</SELECT>


basically, it is the same for the month and the year...



Crash's Site | Crash is from
Go to Top of Page

macho
Junior Member

Denmark
150 Posts

Posted - 28 July 2002 :  10:10:27  Show Profile
The problem is not to make a drop-down list as you has descriped. I would like to incorporate (replace) it in this part of the events_functions.asp:



<input TYPE="TEXT" SIZE="12" MAXLENGTH="12" NAME="START_DATE" VALUE="<%if Server.HTMLEncode(sStart_Date) <> "" then Response.write Server.HTMLEncode(sStart_Date) else Response.Write(myDate) end if%>">



How should I replace the above so it still puts in myDate per default?

regards

Go to Top of Page

twin
New Member

78 Posts

Posted - 28 July 2002 :  14:05:58  Show Profile
I can't see any difference to the normal Event Mod Calendar.

The Drop Down Field is standard.
Or what do you mean ??




Go to Top of Page

macho
Junior Member

Denmark
150 Posts

Posted - 28 July 2002 :  14:35:25  Show Profile
Okay,

here is what I want to have, when adding an event (just the "Start date" and "End date" boxes):



This is - more or less - what I have now and what to replace with the above input date format:



The month, date and year as three dropdown boxes instead of one textbox!

regards

Edited by - macho on 28 July 2002 14:37:37
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.49 seconds. Powered By: Snitz Forums 2000 Version 3.4.07