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 February 2013 (3 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
          1
2013/2014 ...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
2
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
3
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
4
Deadline t...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
5
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
6
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
7
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
8
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
9
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
10
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
11
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
12
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
13
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
14
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
15
2013/2014 ...
Last Day f...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
16
Refund Sch...
Withdraw (...
17
Refund Sch...
Withdraw (...
18
Refund Sch...
Withdraw (...
19
Refund Sch...
Student St...
Withdraw (...
20
Refund Sch...
Withdraw (...
21
Last Day f...
Refund Sch...
Withdraw (...
22
Final Exam...
Refund Sch...
Withdraw (...
23
Final Exam...
Refund Sch...
Withdraw (...
24
Final Exam...
Refund Sch...
Withdraw (...
25
Final Exam...
Refund Sch...
Withdraw (...
26
Final Exam...
Refund Sch...
Withdraw (...
27
Refund Sch...
Withdraw (...
28
Grades due...
Midpoint f...
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 February 2013 (3 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
          1
2013/2014 FAFSA and 2012 Tax Preparation Seminar (Newton Campus)

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

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
2
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
3
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
4
Deadline to Petition for In-state Tuition for Spring 2013

The petition for in-state tuition and all supporting documentation must be submitted by this date in order to be considered for Spring 2013.

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
5
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
6
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
7
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
8
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
9
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
10
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
11
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
12
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
13
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
14
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
15
2013/2014 FAFSA and 2012 Tax Preparation Seminar (Clarkston Campus)

Students can receive FREE assistancewith completing their 2013/2014 FAFSA and 2012 Tax Return.
Clarkston Campus - CE1100
Friday, February 15, 2013
11:00 am to 5:00 pm
Contact Carole Jones @ 678-891-3103 or carole.Jones@gp c.edu

Last Day for Second Half Term Registration

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - First Half Classes

Students must withdraw between February 1 and February 15 to receive a 'WF' for the class.
Withdrawal Policy

February 15 is the last day to withdraw from First Half Term Classes
16
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
17
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
18
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
19
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Student Study Day

The college is open. No classes held.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
20
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
21
Last Day for First Half Term Classes

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
22
Final Exams for First Half Term Classes
F inal Exam Schedule
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
23
Final Exams for First Half Term Classes
F inal Exam Schedule
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
24
Final Exams for First Half Term Classes
F inal Exam Schedule
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
25
Final Exams for First Half Term Classes
F inal Exam Schedule
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
26
Final Exams for First Half Term Classes
F inal Exam Schedule
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
27
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
28
Grades due for First Half Term Classes

Grades are due by 12:00 noon EST.

Midpoint for Full Term Classes

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
   


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:

<<February 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    


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. 17 thru
Sun., May. 19

District Baseball Tournament
District Tournament Tennessee Winner May 17 - 19, 2013 TIME - TBA Contact: Dyesha Howard @ 678-891-2361 or dyesha.howard@gpc.edu

Wed., May. 22 thru
Fri., May. 24

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).

Wed., May. 22 thru
Fri., May. 24

Employee (TAP) Registration

Wed., May. 22 thru
Thu., May. 30

Web Registration open for Summer 2013 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Thursday, May 30, 2013.


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