Home | Community | Message Board

MagicBag Grow Bags
This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Shop: Kraken Kratom Red Vein Kratom   Myyco.com Golden Teacher Liquid Culture For Sale

Jump to first unread post Pages: 1
Invisiblesherm
sherman
 User Gallery

Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
how does this calendar work?
    #3868312 - 03/04/05 02:43 PM (19 years, 29 days ago)

How does this calendar get its information to change month and layout of the days?

Its here on the Kansas city libraryhome page
http://www.kclibrary.org/


This is the link for the month title of the calendar

<a href="http://www.kclibrary.org/calendar.cfm?month=3&amp;year=2005&amp;day=1&amp;action=month">March 2005</a>


Each day has an individual link like this

<b><a href="http://www.kclibrary.org/calendar.cfm?Month=3&amp;year=2005&amp;day=1&amp;action=day">1</a></b>

What exactaly is this part of the  link doing? "calendar.cfm?Month=3&amp;year=2005&amp;day=1&amp;action=day"

I don't understand the "&amp" and "action=day

is that where it gets its date and day layout from?

I need to build one of these. I can build the calendar, i just don't know how i would get it to change months and day layouts without editing it by hand every month?


Ive dug all though the source and can't find anything else that looks llke where it would be gtting its date from.

They can't be editing it by hand every month, right?

any help would be more than apreciated, you have no idea how much this would mean to me.
thanks alot.
  :laugh: :laugh: :laugh: :laugh:


--------------------
shroomery.
not even once.


Extras: Filter Print Post Top
OfflineYthanA
ᕕ( ᐛ )ᕗ
Male User Gallery

Registered: 08/08/97
Posts: 18,817
Loc: NY/MA/VT Borderlands Flag
Last seen: 25 minutes, 45 seconds
Re: how does this calendar work? [Re: sherm]
    #3869011 - 03/04/05 04:49 PM (19 years, 28 days ago)

Hey -

The calendar is a script written in the Cold Fusion language (you can tell by the CFM extension). All the information after "calendar.cfm" is pairs of variables and their data. By calling "calendar.cfm?month=3&year=2005", you're telling the web server to run the script and set the "month" variable to 3 and the "year" variable to 2005. The script then takes those variables and uses them to retrieve and display the necessary information.

For more information look into web scripting, I'd personally recommend PHP over Cold Fusion. Here's a good site with information on a lot of different languages:

http://www.devshed.com/

Good luck and let me know if you have any other questions!

-Y

Extras: Filter Print Post Top
Invisibletak
geo's henchman
Male User Gallery

Folding@home Statistics
Registered: 11/20/00
Posts: 3,776
Loc: nowhereland
Re: how does this calendar work? [Re: Ythan]
    #3876241 - 03/06/05 05:01 AM (19 years, 27 days ago)

and you can pick up the date without having to change the url, i htink that is more for checking past or future dates


--------------------
The DJ's took pills to stay awake and play for seven days.

Extras: Filter Print Post Top
Invisiblesherm
sherman
 User Gallery

Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
Re: how does this calendar work? [Re: tak]
    #3877056 - 03/06/05 11:54 AM (19 years, 27 days ago)

thanks guys


--------------------
shroomery.
not even once.


Extras: Filter Print Post Top
Jump to top Pages: 1

Shop: Kraken Kratom Red Vein Kratom   Myyco.com Golden Teacher Liquid Culture For Sale


Similar ThreadsPosterViewsRepliesLast post
* linux shell script help OJK 986 7 05/23/06 12:21 PM
by OJK
* Variable vs. 320kbps ivi 3,182 16 12/30/04 08:18 AM
by Fliquid
* help with a script
( 1 2 all )
supra 2,104 20 11/27/08 02:13 PM
by zouden
* Outlook 2007 Calendar cortex 389 8 03/23/10 11:02 AM
by cortex
* Need ideas for useful phone scripts Fungal-one 516 5 12/31/10 12:54 PM
by Fungal-one
* Google Calendar HELLA_TIGHT 568 3 10/18/08 10:31 AM
by tak
* Good php scripts? Murex 572 1 01/14/04 06:19 PM
by nife
* Flash Script Help p4kSouL 373 0 10/03/05 11:45 AM
by p4kSouL

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: trendal, automan, Northerner
702 topic views. 0 members, 1 guests and 3 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2024 Mind Media. Some rights reserved.

Generated in 0.018 seconds spending 0.007 seconds on 14 queries.