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
  • Alumni
  • 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
  • Newton


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 July 2013 (12 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
  1
Applicatio...
Graduation...
2



3



4



5



6



7



8
Early Advi...
Financial ...
9
Early Advi...
Financial ...
10
Early Advi...
Financial ...
11
Early Advi...
Financial ...
12
Early Advi...
Financial ...
Orientatio...
Orientatio...
13
Early Advi...
Financial ...
Orientatio...
Orientatio...
14
Early Advi...
Financial ...
Orientatio...
Orientatio...
15
Early Advi...
Financial ...
Orientatio...
Orientatio...
16
Early Advi...
Financial ...
Orientatio...
Orientatio...
17
Early Advi...
Financial ...
Orientatio...
Orientatio...
18
Early Advi...
Financial ...
Orientatio...
Orientatio...
19
Orientati...
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
20
Orientati...
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
21
Orientati...
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
22
Orientati...
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
23
Orientati...
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
24
Orientati...
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
25
Orientati...
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
Orientatio...
26
Orientati...
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
Orientatio...
27
Orientati...
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
Orientatio...
28
Orientati...
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
Orientatio...
29
Orientati...
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
Orientatio...
30
Orientati...
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
Orientatio...
31
Orientati...
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
Orientatio...
     


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



Creating a Large Calendar with Full Descriptions


Example:

Printable Version
< Prev Month July 2013 (12 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
  1
Application and Document Due Date for Fall 2013

Graduation Application Deadline for Fall 2013

A non-refundable application fee is required.
2



3



4



5



6



7



8
Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan
9
Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan
10
Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan
11
Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan
12
Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
13
Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
14
Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
15
Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
16
Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
17
Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
18
Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
19
Orientation - Alpharetta Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Newton Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
20
Orientation - Alpharetta Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Newton Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
21
Orientation - Alpharetta Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Newton Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
22
Orientation - Alpharetta Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Newton Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
23
Orientation - Alpharetta Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Newton Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
24
Orientation - Alpharetta Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Newton Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
25
Orientation - Alpharetta Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Decatur Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Newton Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
26
Orientation - Alpharetta Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Decatur Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Newton Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
27
Orientation - Alpharetta Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Decatur Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Newton Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
28
Orientation - Alpharetta Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Decatur Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Newton Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
29
Orientation - Alpharetta Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Decatur Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Newton Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
30
Orientation - Alpharetta Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Decatur Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Newton Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
31
Orientation - Alpharetta Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Early Advisement and Web Registration for Fall 2013

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the
Fall 2013 Purge Plan

Orientation - Clarkston Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Decatur Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Dunwoody Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!

Orientation - Newton Campus

For students who are admitted, registration ready and have exempted or taken placement testing. Advanced sign up is required. Sign up now!
     


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



Creating a Small Calendar


Example:

<<July 2013>>
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 31      


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



Creating a List of Events


Example:

Please list valid category name(s)

Fri., Jun. 6 thru
Sun., Aug. 17

Registration for Fall 2014

Web registration available.

Wed., Jun. 18 thru
Fri., Aug. 29

Photo Shoots for New Fulltime Employees
Newton 2N2100 6/18 11A-1P 6/25 3P-5P Dunwoody NA2130 7/9 11A-1P 7/16 3P-5P Alpharetta AA2145 7/10 11A-1P 7/17 3P-5P Decatur SF2101 7/23 11A-1P 7/30 3P-3P Clarkston 8/6 11A-1P CL4190 8/13 3P-5P CL4180 Lakeside 1501(#3) 8/20 11A-1P 8/27 3P-5P Make Up Day - Friday, 8/29 10A-1P CL4190 Online employees may attend any of the listed shoots.

Tue., Jul. 8 thru
Thu., Jul. 24

July Mobile Clinic Schedule
Dunwoody 9am-5pm July 8 July 15 July 22 Decatur 9am-3pm July 9 July 16 July 23 Alpharetta 9am-3pm July 10 July 24 Newton 9am-3pm July 17 The Mobile Clinic is out of service for repairs, first week of July. Students can be see @ Clarkston campus. Contact Student Health Center in CH 1210, Clarkston Campus or telephone, 678-891-4105.

Tue., Jul. 22

Last Day for Second Half Term Classes


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



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