GPC Look and Feel :: Georgia Perimeter College
GPC Home GPC Home Apply Now! Contact Us
GPC Look and Feel

Calendar Functions - Using PHP






Categories of events in calendar

To create any type of calendar, you need to specify the category whose events should be shown. Here is a current list of categories available (although not all will have events available yet).

Available Categories:
  • All
  • Academic
  • Athletic
  • Community Events
  • Cont Ed
  • Fine Arts
  • General
  • HR Fac Staff
  • HR Students
  • International Education
  • Scholarship
  • Student Activities


Note: The category can be any one or combination (separated by commas) of the categories listed above. Please make sure the spelling is correct.

Locations of events in calendar

You also have the option of specifying the location whose events should be shown. Here is a current list of locations available

Available Locations:
  • All
  • College-Wide
  • Off-Campus
  • Alpharetta
  • Clarkston
  • Decatur
  • Dunwoody
  • Lawrenceville
  • Rockdale


GPC groups of people interested in events:

You also have the option of specifying the people whose events should be shown. Below is a current list of groups of people available.

Available GPC groups:
  • All
  • Current Student
  • Faculty / Staff
  • Future Student
  • Visitors / Friends



Creating a Large Calendar with Abbreviated Descriptions


Example:

 
< Prev Month November 2006 (1 month from now) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
      1
Applicatio...
Early regi...
Graduation...
Regents' T...
2
Early regi...
3
Early regi...
4
Early regi...
5
Early regi...
6
Early regi...
7
Early regi...
8
Early regi...
9
Early regi...
10
Early regi...
11
Early regi...
12
Early regi...
13
Early regi...
14
Early regi...
15
Early regi...
Midpoint f...
16
Early regi...
17
Early regi...
18
Early regi...
19
Early regi...
20
Early regi...
21
Early regi...
22
College op...
Early regi...
23
College cl...
Early regi...
24
College cl...
Early regi...
25
College cl...
Early regi...
26
College cl...
Early regi...
27
Early regi...
28
Early regi...
29
Early regi...
30
Early regi...
   


To create a large calendar with abbreviated descriptions, place these lines of code anywhere on your page between the StartGPC() and EndGPC() lines and between PHP tags (<? and ?>):

$calendar_category="academic";  // view details about this line
$calendar_campus="all";  // view details about this line
$people="all";  // view details about this line
$calendar_width=540;  // optional line - values can be between 1 and 540
include "php_classes/calendar.php3";  // required line
echo $cal->get_calendar_grid();  // required line

Top of Page


Creating a Large Calendar with Full Descriptions


Example:

Printable Version
< Prev Month November 2006 (1 month from now) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
      1
Application and Document deadline for spring 2007.
Nonrefundable application fee required.
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
Graduation application deadline for spring 2007.
Nonrefundable application fee required.
Regents' Test dates.
2
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
3
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
4
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
5
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
6
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
7
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
8
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
9
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
10
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
11
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
12
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
13
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
14
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
15
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
Midpoint for second half-term classes.
Last day to withdraw with a "W" grade in second half-term classes.
16
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
17
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
18
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
19
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
20
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
21
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
22
College open. No classes held (day and evening).

Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
23
College closed for Thanksgiving holiday.

Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
24
College closed for Thanksgiving holiday.

Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
25
College closed for Thanksgiving holiday.

Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
26
College closed for Thanksgiving holiday.

Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
27
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
28
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
29
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
30
Early registration for spring 2007 (Web).
See an academic advisor for help in planning your schedule for spring 2007.
   


To create a large calendar with full descriptions, place these lines of code anywhere on your page between the StartGPC() and EndGPC() lines and between PHP tags (<? and ?>):

$calendar_category="academic";  // view details about this line
$calendar_campus="all";  // view details about this line
$people="all";  // view details about this line
$calendar_width=540;  // optional line - values can be between 1 and 540
$long_descriptions=true;  // required line
include "php_classes/calendar.php3";  // required line
echo $cal->get_calendar_grid();  // required line

Top of Page


Creating a Small Calendar


Example:

<<November 2006>>
S M T W T F S
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    


To create a small calendar, place these lines of code anywhere on your page between the StartGPC() and EndGPC() lines and between PHP tags (<? and ?>):

$calendar_category="academic";  // view details about this line
$calendar_campus="all";  // view details about this line
$people="all";  // view details about this line
include "php_classes/calendar.php3";  // required line
echo $cal->get_small_calendar();  // required line

Top of Page


Creating a List of Events


Example:

Please list valid category name(s)
Fri., Oct. 13 -
Wed., Dec. 13
Art Show
"Inventing Nature: Photographs by Georgia Artists" (in conjunction with Atlanta Celebrates Photography Festival) Cherry Gallery, Jim Cherry Learning Resource Center Reception and Artist's Talk: Thursday, October 19, 5:30 - 8:00 p.m.
Wed., Oct. 18 Second half-term classes begin.
Schedule Adjustment for currently registered students in second half-term classes.
Wed., Oct. 18 International Coffee Hour - Greece
Join us and learn more about Greece, regarded as the cradle of western civilization and being the birthplace of democracy. Today, Greece is a highly developed nation. 12:30 PM Room A-1180
Thu., Oct. 19 Open House
The Clarkston campus will host its fall 2006 Open House event for prospective students on Thursday, October 19, 2006 at 6:00pm in the student center (B-building), 555 North Indian Creek Drive, Clarkston. For more information please contact the Office of District Recruitment at 678-891-4125


To create a list of events, place these lines of code anywhere on your page between the StartGPC() and EndGPC() lines and between PHP tags (<? and ?>):

$calendar_category="40th anniversary";  // view details about this line
$calendar_campus="all";  // view details about this line
$people="all";  // view details about this line
$calendar_list_number=4;  // optional line - specifies number of events shown (will default to 3 if not specified)
$no_description=false;  // optional line - by default, $no_description is false and the event description is shown (if $no_description is set to true, the event description will not be shown)
include "php_classes/calendar.php3";  // required line
echo $cal->get_calendar_list();  // Option 1 (All Events)
Use Option 1 or 2
echo $cal->get_calendar_list_noacad();  // Option 2 (All with No Academic Events)
Use Option 1 or 2

Top of Page


Creating a Scrollbox of Events


Example:



To create a scrollbox of events, place these lines of code anywhere on your page between the StartGPC() and EndGPC() lines and between PHP tags (<? and ?>):

Note: any page that contains a scrollbox of events will NOT display the "GPC Main Menu" dropdown on the top banner of the GPC Look & Feel.

$calendar_category="academic";  // view details about this line
$calendar_campus="all";  // view details about this line
$people="Current Student";  // view details about this line
$calendar_width=150;  // optional line - values can be between 1 and 540
$scrollbox_delay=4000;  // optional line - values are in milliseconds
include "php_classes/calendar.php3";  // required line
echo $cal->get_scrollbox();  // required line

Top of Page

GPC Home
GPC Home Search GPC Website Apply to GPC Contact GPC Campus Maps & Directions Return to Top
[GPC Home]   [Search]   [Apply Now]    [Contact Us]   [Campus Maps][Return to Top]

Copyright© 2006
GPC Questions/Comments/Help
Last updated 08-Oct-2006