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 2014 (5 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
    1
No Show At...
Graduation...
Priority A...
Refund Sch...
Registrati...
Schedule A...
Withdraw (...
2
No Show At...
Drop for N...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
3
No Show At...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
4
No Show At...
Independen...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
5
No Show At...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
6
No Show At...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
7
Faculty Re...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
8
Faculty Re...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
9
Faculty Re...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
10
Faculty Re...
Midpoint f...
Refund Sch...
Registrati...
Withdraw (...
11
Faculty Re...
Refund Sch...
Registrati...
Withdraw (...
12
Faculty Re...
Refund Sch...
Registrati...
Withdraw (...
13
Faculty Re...
Registrati...
Withdraw (...
14
Registrati...
Withdraw (...
15
Last Day f...
Registrati...
Withdraw (...
16
Final Exam...
Registrati...
Withdraw (...
17
Final Exam...
Registrati...
18
Registrati...
19
Registrati...
20
Registrati...
21
Registrati...
22
Last Day f...
Registrati...
23
Final Exam...
Registrati...
24
Registrati...
25
Grades due...
Graduation...
Registrati...
26
Registrati...
27
Registrati...
28
Grades Ava...
Registrati...
29
Registrati...
30
Registrati...
31
Registrati...
   


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 2014 (5 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
    1
No Show Attendance Period for Second Half Term Classes

Graduation Application Deadline for Fall 2014

A non-refundable application fee is required.

Priority Application and Document Due Date for Fall 2014

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Fall 2014

Web registration available.

Schedule Adjustment Period - Second Half
This is the only day to make schedule adjustments for second half classes.
Withdraw (WF) - Full Term Classes

Students must withdraw between June 25 and July 9 to receive a 'WF' for the class.
Withdrawal Policy

July 9 is the last day to withdraw from Full Term Classes
2
No Show Attendance Period for Second Half Term Classes

Drop for Non-payment

Students who have not paid their full balance will have their entire schedule dropped for non-payment at 5:00 pm EDT.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Fall 2014

Web registration available.

Withdraw (W) - Second Half Classes

Students must withdraw between July 2 and July 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between June 25 and July 9 to receive a 'WF' for the class.
Withdrawal Policy

July 9 is the last day to withdraw from Full Term Classes
3
No Show Attendance Period for Second Half Term Classes

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Fall 2014

Web registration available.

Withdraw (W) - Second Half Classes

Students must withdraw between July 2 and July 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between June 25 and July 9 to receive a 'WF' for the class.
Withdrawal Policy

July 9 is the last day to withdraw from Full Term Classes
4
No Show Attendance Period for Second Half Term Classes

Independence Day

The college is closed.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Fall 2014

Web registration available.

Withdraw (W) - Second Half Classes

Students must withdraw between July 2 and July 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between June 25 and July 9 to receive a 'WF' for the class.
Withdrawal Policy

July 9 is the last day to withdraw from Full Term Classes
5
No Show Attendance Period for Second Half Term Classes

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Fall 2014

Web registration available.

Withdraw (W) - Second Half Classes

Students must withdraw between July 2 and July 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between June 25 and July 9 to receive a 'WF' for the class.
Withdrawal Policy

July 9 is the last day to withdraw from Full Term Classes
6
No Show Attendance Period for Second Half Term Classes

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Fall 2014

Web registration available.

Withdraw (W) - Second Half Classes

Students must withdraw between July 2 and July 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between June 25 and July 9 to receive a 'WF' for the class.
Withdrawal Policy

July 9 is the last day to withdraw from Full Term Classes
7
Faculty Report No Shows

The SIS will be available for reporting no shows from July 7 to July 13 at 8:00 pm EDT.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Fall 2014

Web registration available.

Withdraw (W) - Second Half Classes

Students must withdraw between July 2 and July 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between June 25 and July 9 to receive a 'WF' for the class.
Withdrawal Policy

July 9 is the last day to withdraw from Full Term Classes
8
Faculty Report No Shows

The SIS will be available for reporting no shows from July 7 to July 13 at 8:00 pm EDT.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Fall 2014

Web registration available.

Withdraw (W) - Second Half Classes

Students must withdraw between July 2 and July 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between June 25 and July 9 to receive a 'WF' for the class.
Withdrawal Policy

July 9 is the last day to withdraw from Full Term Classes
9
Faculty Report No Shows

The SIS will be available for reporting no shows from July 7 to July 13 at 8:00 pm EDT.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Fall 2014

Web registration available.

Withdraw (W) - Second Half Classes

Students must withdraw between July 2 and July 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between June 25 and July 9 to receive a 'WF' for the class.
Withdrawal Policy

July 9 is the last day to withdraw from Full Term Classes
10
Faculty Report No Shows

The SIS will be available for reporting no shows from July 7 to July 13 at 8:00 pm EDT.

Midpoint for Second Half Term Classes

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Fall 2014

Web registration available.

Withdraw (W) - Second Half Classes

Students must withdraw between July 2 and July 10 to receive a 'W' for the class.
Withdrawal Policy
11
Faculty Report No Shows

The SIS will be available for reporting no shows from July 7 to July 13 at 8:00 pm EDT.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Fall 2014

Web registration available.

Withdraw (WF) - Second Half Classes

Students must withdraw between July 11 and July 16 to receive a 'WF' for the class.
Withdrawal Policy

July 16 is the last day to withdraw from First Half Term Classes
12
Faculty Report No Shows

The SIS will be available for reporting no shows from July 7 to July 13 at 8:00 pm EDT.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Fall 2014

Web registration available.

Withdraw (WF) - Second Half Classes

Students must withdraw between July 11 and July 16 to receive a 'WF' for the class.
Withdrawal Policy

July 16 is the last day to withdraw from First Half Term Classes
13
Faculty Report No Shows

The SIS will be available for reporting no shows from July 7 to July 13 at 8:00 pm EDT.

Registration for Fall 2014

Web registration available.

Withdraw (WF) - Second Half Classes

Students must withdraw between July 11 and July 16 to receive a 'WF' for the class.
Withdrawal Policy

July 16 is the last day to withdraw from First Half Term Classes
14
Registration for Fall 2014

Web registration available.

Withdraw (WF) - Second Half Classes

Students must withdraw between July 11 and July 16 to receive a 'WF' for the class.
Withdrawal Policy

July 16 is the last day to withdraw from First Half Term Classes
15
Last Day for Full Term Classes

Registration for Fall 2014

Web registration available.

Withdraw (WF) - Second Half Classes

Students must withdraw between July 11 and July 16 to receive a 'WF' for the class.
Withdrawal Policy

July 16 is the last day to withdraw from First Half Term Classes
16
Final Exams for Full Term Classes
F inal Exam Schedule
Registration for Fall 2014

Web registration available.

Withdraw (WF) - Second Half Classes

Students must withdraw between July 11 and July 16 to receive a 'WF' for the class.
Withdrawal Policy

July 16 is the last day to withdraw from First Half Term Classes
17
Final Exams for Full Term Classes
F inal Exam Schedule
Registration for Fall 2014

Web registration available.
18
Registration for Fall 2014

Web registration available.
19
Registration for Fall 2014

Web registration available.
20
Registration for Fall 2014

Web registration available.
21
Registration for Fall 2014

Web registration available.
22
Last Day for Second Half Term Classes

Registration for Fall 2014

Web registration available.
23
Final Exams for Second Half Term Classes
F inal Exam Schedule
Registration for Fall 2014

Web registration available.
24
Registration for Fall 2014

Web registration available.
25
Grades due for Full and Second Half Term Classes

Grades are due by 12:00 noon EDT.

Graduation Date for Summer 2014

Official graduation date for Summer 2014. Graduates may attend the Spring 2015 Commencement ceremony.

Registration for Fall 2014

Web registration available.
26
Registration for Fall 2014

Web registration available.
27
Registration for Fall 2014

Web registration available.
28
Grades Available to Students for Full Term, First Half, and Second Half Classes

Registration for Fall 2014

Web registration available.
29
Registration for Fall 2014

Web registration available.
30
Registration for Fall 2014

Web registration available.
31
Registration for Fall 2014

Web registration available.
   


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 2014>>
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., Oct. 27 thru
Tue., Jan. 6, 2015

Registration for Spring 2015 - Open
Registration is available for Full Term, First Half and Second Half classes for the Spring 2015 Semester.

Mon., Dec. 15 thru
Mon., Jan. 26, 2015

Book Allowance Available to Students - First Half / Full Term
Book allowance will be made available for use in campus bookstores for students with eligible financial aid.

Wed., Dec. 17

Orientation - Clarkston (9AM, 11AM, 2PM)
Orientation sessions available at Clarkston at 9AM, 11AM and 2PM.

Fri., Dec. 19

Drop for Nonpayment - First Half / Full Term (4PM)
All students who have not paid fees will be dropped for nonpayment. Please ensure you are working to complete your financial aid or secure payment as quickly as possible.


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