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 March 2013 (3 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
          1
2013/2014 ...
Graduation...
Withdraw (...
2
Withdraw (...
3
Withdraw (...
4
Spring Bre...
Withdraw (...
5
Spring Bre...
Withdraw (...
6
Spring Bre...
Withdraw (...
7
Spring Bre...
Withdraw (...
8
Spring Bre...
Withdraw (...
9
Spring Bre...
Withdraw (...
10
Spring Bre...
Withdraw (...
11
Withdraw (...
12
Withdraw (...
13
No Show At...
Second Hal...
Withdraw (...
14
No Show At...
Refund Sch...
Withdraw (...
Withdraw (...
15
2013/2014 ...
No Show At...
Refund Sch...
Withdraw (...
Withdraw (...
16
No Show At...
Refund Sch...
Withdraw (...
Withdraw (...
17
No Show At...
Refund Sch...
Withdraw (...
Withdraw (...
18
No Show At...
Refund Sch...
Withdraw (...
Withdraw (...
19
No Show At...
Refund Sch...
Withdraw (...
Withdraw (...
20
Faculty Re...
Refund Sch...
Withdraw (...
Withdraw (...
21
Faculty Re...
Refund Sch...
Withdraw (...
Withdraw (...
22
Faculty Re...
Refund Sch...
Withdraw (...
Withdraw (...
23
Faculty Re...
Refund Sch...
Withdraw (...
Withdraw (...
24
Faculty Re...
Refund Sch...
Withdraw (...
Withdraw (...
25
Faculty Re...
Early Advi...
Financial ...
Refund Sch...
Withdraw (...
Withdraw (...
26
Faculty Re...
Early Advi...
Financial ...
Refund Sch...
Withdraw (...
Withdraw (...
27
Early Advi...
Financial ...
Refund Sch...
Withdraw (...
Withdraw (...
28
Early Advi...
Financial ...
Refund Sch...
Withdraw (...
Withdraw (...
29
Early Advi...
Financial ...
Refund Sch...
Withdraw (...
Withdraw (...
30
Early Advi...
Financial ...
Refund Sch...
Withdraw (...
Withdraw (...
31
Early Advi...
Financial ...
Refund Sch...
Withdraw (...
Withdraw (...
           


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 March 2013 (3 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
          1
2013/2014 FAFSA and 2012 Tax Preparation Seminar (Dunwoody Campus)

Students can receive FREE assistance with completing their 2013/2014 FAFSA and 2012 Tax Return.
Dunwoody Campus - NE0150
Friday, March 1, 2013
11:00 am to 5:00 pm
Contact Carole Jones @ 678-891-3103 or carole.Jones@gp c.edu

Graduation Application Deadline for Summer 2013

A non-refundable application fee is required.

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
2
Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
3
Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
4
Spring Break

The college is open. No classes held.

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
5
Spring Break

The college is open. No classes held.

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
6
Spring Break

The college is open. No classes held.

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
7
Spring Break

The college is open. No classes held.

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
8
Spring Break

The college is open. No classes held.

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
9
Spring Break

The college is open. No classes held.

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
10
Spring Break

The college is open. No classes held.

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
11
Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
12
Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
13
No Show Attendance Period for Second Half Term Classes

Second Half Term Classes Begin

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
14
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.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
15
2013/2014 FAFSA and 2012 Tax Preparation Seminar (Decatur Campus)

Students can receive FREE assistance with completing their 2013/2014 FAFSA and 2012 Tax Return.
Decatur - SB 2250
Friday, March 15, 2013
11:00 am to 5:00 pm
Contact Carole Jones @ 678-891-3103 or carole.Jones@gp c.edu

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.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
16
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.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
17
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.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
18
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.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
19
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.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
20
Faculty Report No Shows

The SIS will be available for reporting no shows from March 20 to March 26 at 8:00 pm EST.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
21
Faculty Report No Shows

The SIS will be available for reporting no shows from March 20 to March 26 at 8:00 pm EST.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
22
Faculty Report No Shows

The SIS will be available for reporting no shows from March 20 to March 26 at 8:00 pm EST.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
23
Faculty Report No Shows

The SIS will be available for reporting no shows from March 20 to March 26 at 8:00 pm EST.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
24
Faculty Report No Shows

The SIS will be available for reporting no shows from March 20 to March 26 at 8:00 pm EST.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
25
Faculty Report No Shows

The SIS will be available for reporting no shows from March 20 to March 26 at 8:00 pm EST.

Early Advisement and Web Registration for Summer 2013

Financial Purge Schedule

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

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
26
Faculty Report No Shows

The SIS will be available for reporting no shows from March 20 to March 26 at 8:00 pm EST.

Early Advisement and Web Registration for Summer 2013

Financial Purge Schedule

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

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
27
Early Advisement and Web Registration for Summer 2013

Financial Purge Schedule

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

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
28
Early Advisement and Web Registration for Summer 2013

Financial Purge Schedule

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

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
29
Early Advisement and Web Registration for Summer 2013

Financial Purge Schedule

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

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
30
Early Advisement and Web Registration for Summer 2013

Financial Purge Schedule

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

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
31
Early Advisement and Web Registration for Summer 2013

Financial Purge Schedule

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

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between March 14 and April 8 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between March 1 and April 19 to receive a 'WF' for the class.
Withdrawal Policy

April 19 is the last day to withdraw from Full Term Classes
           


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:

<<March 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., May. 31 thru
Fri., Jun. 21

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Fri., May. 31 thru
Tue., Jun. 25

Withdraw (W) - Full Term Classes

Students must withdraw between May 31 and June 25 to receive a 'W' for the class.
Withdrawal Policy

Wed., Jun. 5 thru
Tue., Jun. 25

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Wed., Jun. 12 thru
Sun., Jun. 30

ART SHOW: GPC Visual Arts
Student Juried Exhibition Learning Resource Center Gallery Continuing thru June 30 Dunwoody Campus This is an encore exhibition of the April show at Clarkston Fine Arts


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