Login   Register  
PHP Classes
elePHPant
Icontem

TIPS AND INSTRUCTIONS!

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Calendar date  >  All threads  >  TIPS AND INSTRUCTIONS!  >  (Un) Subscribe thread alerts  
Subject:TIPS AND INSTRUCTIONS!
Summary:some notes I made whilst using this class
Messages:1
Author:Bugmenotter
Date:2009-07-17 09:31:54
 

  1. TIPS AND INSTRUCTIONS!   Reply   Report abuse  
Picture of Bugmenotter
Bugmenotter
2009-07-17 09:31:54
Thanks very much for this great little class - very useful, flexible, fast and works with Firefox, Safari, and IE 6 and 8! (haven't tested IE7)

INSTRUCTIONS:

To create new calendar use function (after including the main class): CreateCalendar($date_initial,$name,$link_back,$link_next,$date_format="2")

PARAMETERS:

$date_initial = the day that the calendar will default to when first viewed

$name = the name that the generated form will be given

$link_back = the date from which days will be linkable (all days after this date up to $link_next will be clickable)

$link_next = the date to which days will be linkable (all days before this date and after $link_next will be clickable)

$date_format="2" = the order that the date in numeric form will be printed. By default the format is English dd/mm/yyyy. Setting it to 1 will result in format mm/dd/yyyy

Hope that you found this useful!