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
  • 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 May 2012 (this month) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
    1
Early Advi...
Final Exam...
Final Exam...
Financial ...
Orientatio...
Pre-early ...
2
Early Advi...
Final Exam...
Final Exam...
Financial ...
Orientatio...
Pre-early ...
3
Early Advi...
Final Exam...
Final Exam...
Financial ...
Orientatio...
Pre-early ...
4
Commenceme...
Early Advi...
Financial ...
Graduation...
Orientatio...
Pre-early ...
5
Early Advi...
Financial ...
Orientatio...
Pre-early ...
6
Early Advi...
Financial ...
Orientatio...
Pre-early ...
7
Early Advi...
Financial ...
Grades due...
Orientatio...
Pre-early ...
8
Early Advi...
Financial ...
Orientatio...
Pre-early ...
9
Early Advi...
Financial ...
Grades Ava...
Orientatio...
Orientatio...
Orientatio...
Pre-early ...
10
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
Orientatio...
Pre-early ...
11
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
Orientatio...
Pre-early ...
12
Early Advi...
Financial ...
Orientatio...
Orientatio...
Pre-early ...
13
Early Advi...
Financial ...
Orientatio...
Orientatio...
Pre-early ...
14
Early Advi...
Financial ...
Orientatio...
Orientatio...
Pre-early ...
15
Early Advi...
Financial ...
Orientatio...
Orientatio...
Orientatio...
Pre-early ...
16
Early Advi...
Financial ...
Orientatio...
Orientatio...
Pre-early ...
17
Early Advi...
Financial ...
Orientatio...
Orientatio...
Pre-early ...
18
Early Advi...
Financial ...
Pre-early ...
Staff Deve...
19



20



21



22



23
On Campus ...
Web Regist...
24
Employee (...
On Campus ...
Web Regist...
25
Employee (...
On Campus ...
Web Regist...
26
Employee (...
Web Regist...
27
Employee (...
Web Regist...
28
Employee (...
Memorial D...
Web Regist...
29
On Campus...
Employee (...
Web Regist...
30
No Show At...
Full Term ...
Schedule A...
Web Regist...
31
No Show At...
Schedule A...
Web Regist...
   


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 May 2012 (this month) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
    1
Early Advisement and Web Registration for Summer 2012

Final Exams for Full Term Classes
Final Exam Schedule
Final Exams for Second Half Term Classes
Final Exam Schedule
Financial Purge Schedule

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

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
2
Early Advisement and Web Registration for Summer 2012

Final Exams for Full Term Classes
Final Exam Schedule
Final Exams for Second Half Term Classes
Final Exam Schedule
Financial Purge Schedule

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

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
3
Early Advisement and Web Registration for Summer 2012

Final Exams for Full Term Classes
Final Exam Schedule
Final Exams for Second Half Term Classes
Final Exam Schedule
Financial Purge Schedule

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

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
4
Commencement for Spring 2012

Commencemen t ceremony for Spring 2012 graduates.

Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

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

Graduation Date for Spring 2012

Official graduation date for Spring 2012.

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
5
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

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

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
6
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

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

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
7
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

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

Grades due for Full and Second Half Term Classes

Grades are due by 12:00 noon EST.

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
8
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

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

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
9
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

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

Grades Available to Students for Full Term, First Half, and Second Half Classes

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
10
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

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

Orientation - Alpharetta Center

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

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
11
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

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

Orientation - Alpharetta Center

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

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
12
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

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

Orientation - Alpharetta Center

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

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
13
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

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

Orientation - Alpharetta Center

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

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
14
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

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

Orientation - Alpharetta Center

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

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
15
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

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

Orientation - Alpharetta Center

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

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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
16
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the Summer 2012 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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
17
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

Classes are purged on a regular basis during the registration period. See the Student Accounts webpage for the Summer 2012 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!

Pre-early Registration for Fall 2012

Available to currently enrolled students only.
18
Early Advisement and Web Registration for Summer 2012

Financial Purge Schedule

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

Pre-early Registration for Fall 2012

Available to currently enrolled students only.

Staff Development Day

The college is closed.
19



20



21



22



23
On Campus Advisement and Registration Assistance

Advisement and registration assistance is available on campuses (Weds/Thurs: 9 am-7 pm and Friday 9 am-5 pm). New students should arrive no later than 4:30 pm on Weds/Thurs and by 2:30 pm on Friday.

Web Registration open for Summer 2012 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Thursday, May 31, 2012.
24
Employee (TAP) Registration

On Campus Advisement and Registration Assistance

Advisement and registration assistance is available on campuses (Weds/Thurs: 9 am-7 pm and Friday 9 am-5 pm). New students should arrive no later than 4:30 pm on Weds/Thurs and by 2:30 pm on Friday.

Web Registration open for Summer 2012 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Thursday, May 31, 2012.
25
Employee (TAP) Registration

On Campus Advisement and Registration Assistance

Advisement and registration assistance is available on campuses (Weds/Thurs: 9 am-7 pm and Friday 9 am-5 pm). New students should arrive no later than 4:30 pm on Weds/Thurs and by 2:30 pm on Friday.

Web Registration open for Summer 2012 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Thursday, May 31, 2012.
26
Employee (TAP) Registration

Web Registration open for Summer 2012 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Thursday, May 31, 2012.
27
Employee (TAP) Registration

Web Registration open for Summer 2012 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Thursday, May 31, 2012.
28
Employee (TAP) Registration

Memorial Day Holiday

The college is closed.

Web Registration open for Summer 2012 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Thursday, May 31, 2012.
29
On Campus Advisement and Registration Assistance

Advisement and registration assistance is available on campuses from 9 am-7 pm. New students should arrive no later than 4:30 pm.

Employee (TAP) Registration

Web Registration open for Summer 2012 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Thursday, May 31, 2012.
30
No Show Attendance Period for Full and First Half Term Classes

Full Term and First Half Term Classes Begin

Schedule Adjustment Available

Schedule adjustment is available for currently enrolled students. Advisement and registration assistance is available on campuses from 9:00 am to 7:00 pm.

Web Registration open for Summer 2012 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Thursday, May 31, 2012.
31
No Show Attendance Period for Full and First Half Term Classes

Schedule Adjustment Available

Schedule adjustment is available for currently enrolled students. Advisement and registration assistance is available on campuses from 9:00 am to 7:00 pm.

Web Registration open for Summer 2012 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Thursday, May 31, 2012.
   


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:

<<May 2012>>
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)

Mon., Mar. 26 thru
Fri., May. 18

Financial Purge Schedule

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

Mon., Mar. 26 thru
Fri., May. 18

Early Advisement and Web Registration for Summer 2012

Mon., Apr. 9 thru
Fri., May. 18

Pre-early Registration for Fall 2012

Available to currently enrolled students only.

Thu., Apr. 19 thru
Thu., May. 24

Art Show: The Figure
Featuring works by GPC Fine Arts Studio Faculty that explore the human figure.
Location & Time: Clarkston Campus, Jim Cherry Learning Resource Center Gallery. Ongoing and free.


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