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 August 2014 Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
          1
Final Appl...
Registrati...
2
Registrati...
3
Registrati...
4
Registrati...
5
Registrati...
6
Registrati...
7
Registrati...
8
Registrati...
9
Registrati...
10
Registrati...
11
Registrati...
Financial ...
12
Registrati...
Financial ...
13
Employee (...
On Campus ...
Registrati...
Drop for N...
Financial ...
14
Employee (...
On Campus ...
Registrati...
Financial ...
15
Employee (...
Last Day t...
On Campus ...
Registrati...
Financial ...
16
Registrati...
Financial ...
17
Registrati...
Financial ...
18
No Show At...
Full Term ...
Schedule A...
Financial ...
19
No Show At...
Schedule A...
Financial ...
20
No Show At...
Withdraw (...
Withdraw (...
Financial ...
Second Hal...
21
No Show At...
Withdraw (...
Withdraw (...
Financial ...
Second Hal...
22
No Show At...
Withdraw (...
Withdraw (...
Final Drop...
Financial ...
Second Hal...
23
No Show At...
Saturday C...
Withdraw (...
Withdraw (...
Financial ...
Second Hal...
24
No Show At...
Withdraw (...
Withdraw (...
Financial ...
Second Hal...
25
Faculty Re...
Withdraw (...
Withdraw (...
Financial ...
Second Hal...
26
Faculty Re...
Withdraw (...
Withdraw (...
Financial ...
Second Hal...
27
Faculty Re...
Withdraw (...
Withdraw (...
Financial ...
Second Hal...
28
Faculty Re...
Withdraw (...
Withdraw (...
Financial ...
Second Hal...
29
Faculty Re...
Withdraw (...
Withdraw (...
Financial ...
Second Hal...
30
Faculty Re...
Withdraw (...
Withdraw (...
Financial ...
Second Hal...
31
Faculty Re...
Withdraw (...
Withdraw (...
Financial ...
Second Hal...
           


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:

< Prev Month August 2014 Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
          1
Final Application Deadline and Document Due Date for Fall 2014
This is the absolute final date for Fall application submission with hope of starting classes during Fall 2014.
Registration for Fall 2014

Web registration available.
2
Registration for Fall 2014

Web registration available.
3
Registration for Fall 2014

Web registration available.
4
Registration for Fall 2014

Web registration available.
5
Registration for Fall 2014

Web registration available.
6
Registration for Fall 2014

Web registration available.
7
Registration for Fall 2014

Web registration available.
8
Registration for Fall 2014

Web registration available.
9
Registration for Fall 2014

Web registration available.
10
Registration for Fall 2014

Web registration available.
11
Registration for Fall 2014

Web registration available.

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
12
Registration for Fall 2014

Web registration available.

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
13
Employee (TAP) Registration

On Campus Advisement and Registration

Advisement and registration assistance is available on all campuses (Weds/Thurs: 9 am-7 pm EDT and Friday 9 am-5 pm EDT).

Students registering for any online class after 6:00 PM EDT on Friday, August 15, 2014 will not receive iCollege access to the class for one to two business days after they have registered.

Registration for Fall 2014

Web registration available.

Drop for Nonpayment
All students who have not resolved their Fall tuition account balances by 5PM EDT will be dropped from their class schedule. Resolution of balances includes the receipt of Financial Aid.
Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
14
Employee (TAP) Registration

On Campus Advisement and Registration

Advisement and registration assistance is available on all campuses (Weds/Thurs: 9 am-7 pm EDT and Friday 9 am-5 pm EDT).

Students registering for any online class after 6:00 PM EDT on Friday, August 15, 2014 will not receive iCollege access to the class for one to two business days after they have registered.

Registration for Fall 2014

Web registration available.

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
15
Employee (TAP) Registration

Last Day to Register for First Half Online Courses

Registratio n for Online first-half courses will end at 6:00 pm EDT on Friday, August 15, 2014.

On Campus Advisement and Registration

Advisement and registration assistance is available on all campuses (Weds/Thurs: 9 am-7 pm EDT and Friday 9 am-5 pm EDT).

Students registering for any online class after 6:00 PM EDT on Friday, August 15, 2014 will not receive iCollege access to the class for one to two business days after they have registered.

Registration for Fall 2014

Web registration available.

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
16
Registration for Fall 2014

Web registration available.

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
17
Registration for Fall 2014

Web registration available.

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
18
No Show Attendance Period for Full and First Half Term Classes

Full Term and First Half Term Classes Begin

Schedule Adjustment

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

Web registration will end at 7:00 pm EDT on Tuesday, August 19, 2014.

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
19
No Show Attendance Period for Full and First Half Term Classes

Schedule Adjustment

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

Web registration will end at 7:00 pm EDT on Tuesday, August 19, 2014.

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
20
No Show Attendance Period for Full and First Half Term Classes

Withdraw (W) - First Half Classes

Students must withdraw between August 20 and September 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
Second Half Registration Continues
Registration is re-opened for second half courses.
21
No Show Attendance Period for Full and First Half Term Classes

Withdraw (W) - First Half Classes

Students must withdraw between August 20 and September 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
Second Half Registration Continues
Registration is re-opened for second half courses.
22
No Show Attendance Period for Full and First Half Term Classes

Withdraw (W) - First Half Classes

Students must withdraw between August 20 and September 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy

Final Drop for Nonpayment
All students who have not resolved their Fall tuition account balances by 4PM EDT will be dropped from their class schedule. Resolution of balances includes the receipt of Financial Aid.
Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
Second Half Registration Continues
Registration is re-opened for second half courses.
23
No Show Attendance Period for Full and First Half Term Classes

Saturday Classes Begin

Withdraw (W) - First Half Classes

Students must withdraw between August 20 and September 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
Second Half Registration Continues
Registration is re-opened for second half courses.
24
No Show Attendance Period for Full and First Half Term Classes

Withdraw (W) - First Half Classes

Students must withdraw between August 20 and September 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
Second Half Registration Continues
Registration is re-opened for second half courses.
25
Faculty Report No Shows

The SIS will be available for reporting no shows from August 25 to August 31 at 8:00 pm EDT.

Withdraw (W) - First Half Classes

Students must withdraw between August 20 and September 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
Second Half Registration Continues
Registration is re-opened for second half courses.
26
Faculty Report No Shows

The SIS will be available for reporting no shows from August 25 to August 31 at 8:00 pm EDT.

Withdraw (W) - First Half Classes

Students must withdraw between August 20 and September 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
Second Half Registration Continues
Registration is re-opened for second half courses.
27
Faculty Report No Shows

The SIS will be available for reporting no shows from August 25 to August 31 at 8:00 pm EDT.

Withdraw (W) - First Half Classes

Students must withdraw between August 20 and September 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
Second Half Registration Continues
Registration is re-opened for second half courses.
28
Faculty Report No Shows

The SIS will be available for reporting no shows from August 25 to August 31 at 8:00 pm EDT.

Withdraw (W) - First Half Classes

Students must withdraw between August 20 and September 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
Second Half Registration Continues
Registration is re-opened for second half courses.
29
Faculty Report No Shows

The SIS will be available for reporting no shows from August 25 to August 31 at 8:00 pm EDT.

Withdraw (W) - First Half Classes

Students must withdraw between August 20 and September 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
Second Half Registration Continues
Registration is re-opened for second half courses.
30
Faculty Report No Shows

The SIS will be available for reporting no shows from August 25 to August 31 at 8:00 pm EDT.

Withdraw (W) - First Half Classes

Students must withdraw between August 20 and September 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
Second Half Registration Continues
Registration is re-opened for second half courses.
31
Faculty Report No Shows

The SIS will be available for reporting no shows from August 25 to August 31 at 8:00 pm EDT.

Withdraw (W) - First Half Classes

Students must withdraw between August 20 and September 10 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
Second Half Registration Continues
Registration is re-opened for second half courses.
           


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:

<<August 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., Aug. 11 thru
Mon., Sep. 1

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.

Wed., Aug. 20 thru
Wed., Sep. 10

Withdraw (W) - First Half Classes

Students must withdraw between August 20 and September 10 to receive a 'W' for the class.
Withdrawal Policy

Wed., Aug. 20 thru
Tue., Sep. 30

Second Half Registration Continues
Registration is re-opened for second half courses.

Wed., Aug. 20 thru
Tue., Oct. 14

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy


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