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 April 2014 Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
    1
Faculty R...
Applicatio...
New and Co...
Refund Sch...
Withdraw (...
Withdraw (...
2
Refund Sch...
Withdraw (...
Withdraw (...
3
Refund Sch...
Withdraw (...
Withdraw (...
4
Orientatio...
Refund Sch...
Withdraw (...
Withdraw (...
5
Orientatio...
Refund Sch...
Withdraw (...
Withdraw (...
6
Orientatio...
Refund Sch...
Withdraw (...
Withdraw (...
7
Orientatio...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
8
Orientatio...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
9
Orientatio...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
10
Orientatio...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
11
Orientatio...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
12
Orientatio...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
13
Orientatio...
Refund Sch...
Registrati...
Withdraw (...
Withdraw (...
14
Midpoint ...
Orientatio...
Registrati...
Withdraw (...
Withdraw (...
15
Orientatio...
Registrati...
Withdraw (...
Withdraw (...
16
Orientatio...
Registrati...
Withdraw (...
Withdraw (...
17
Orientatio...
Registrati...
Withdraw (...
Withdraw (...
18
Orientatio...
Registrati...
Withdraw (...
Withdraw (...
19
Orientatio...
Registrati...
Withdraw (...
Withdraw (...
20
Orientatio...
Registrati...
Withdraw (...
Withdraw (...
21
Orientatio...
Registrati...
Withdraw (...
Withdraw (...
22
Open House...
Orientatio...
Registrati...
Withdraw (...
Withdraw (...
23
Orientatio...
Registrati...
Withdraw (...
Withdraw (...
24
Open House...
Orientatio...
Registrati...
Withdraw (...
Withdraw (...
25
Orientatio...
Orientatio...
Registrati...
Withdraw (...
Withdraw (...
26
Last Day f...
Open House...
Open House...
Orientatio...
Orientatio...
Registrati...
27
Orientatio...
Orientatio...
Registrati...
28
Orientatio...
Orientatio...
Registrati...
29
Open House...
Orientatio...
Orientatio...
Registrati...
30
Orientatio...
Orientatio...
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:

< Prev Month April 2014 Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
    1
Faculty Report No Shows

The SIS will be available for reporting no shows from March 26 to April 1 at 8:00 pm EDT.

Application and Document Due Date for Summer 2014

New and Continuing GPC student priority processing due date for Financial Aid - Fall 2014

Application s for Fall 2014, Spring 2015, and Summer 2015.

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 20 and April 14 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

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

April 25 is the last day to withdraw from Full Term Classes
2
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 20 and April 14 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

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

April 25 is the last day to withdraw from Full Term Classes
3
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 20 and April 14 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

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

April 25 is the last day to withdraw from Full Term Classes
4
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!

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 20 and April 14 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

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

April 25 is the last day to withdraw from Full Term Classes
5
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!

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 20 and April 14 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

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

April 25 is the last day to withdraw from Full Term Classes
6
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!

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 20 and April 14 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

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

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

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Summer 2014

Web registration available.

Withdraw (W) - Second Half Classes

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

Withdraw (WF) - Full Term Classes

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

April 25 is the last day to withdraw from Full Term Classes
8
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!

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Summer 2014

Web registration available.

Withdraw (W) - Second Half Classes

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

Withdraw (WF) - Full Term Classes

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

April 25 is the last day to withdraw from Full Term Classes
9
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!

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Summer 2014

Web registration available.

Withdraw (W) - Second Half Classes

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

Withdraw (WF) - Full Term Classes

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

April 25 is the last day to withdraw from Full Term Classes
10
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!

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Summer 2014

Web registration available.

Withdraw (W) - Second Half Classes

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

Withdraw (WF) - Full Term Classes

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

April 25 is the last day to withdraw from Full Term Classes
11
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!

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Summer 2014

Web registration available.

Withdraw (W) - Second Half Classes

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

Withdraw (WF) - Full Term Classes

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

April 25 is the last day to withdraw from Full Term Classes
12
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!

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Summer 2014

Web registration available.

Withdraw (W) - Second Half Classes

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

Withdraw (WF) - Full Term Classes

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

April 25 is the last day to withdraw from Full Term Classes
13
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!

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Registration for Summer 2014

Web registration available.

Withdraw (W) - Second Half Classes

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

Withdraw (WF) - Full Term Classes

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

April 25 is the last day to withdraw from Full Term Classes
14
Midpoint for Second Half Term Classes

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!

Registration for Summer 2014

Web registration available.

Withdraw (W) - Second Half Classes

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

Withdraw (WF) - Full Term Classes

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

April 25 is the last day to withdraw from Full Term Classes
15
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!

Registration for Summer 2014

Web registration available.

Withdraw (WF) - Full Term Classes

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

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

Withdraw (WF) - Second Half Classes

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

April 25 is the last day to withdraw from Second Half Term Classes
16
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!

Registration for Summer 2014

Web registration available.

Withdraw (WF) - Full Term Classes

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

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

Withdraw (WF) - Second Half Classes

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

April 25 is the last day to withdraw from Second Half Term Classes
17
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!

Registration for Summer 2014

Web registration available.

Withdraw (WF) - Full Term Classes

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

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

Withdraw (WF) - Second Half Classes

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

April 25 is the last day to withdraw from Second Half Term Classes
18
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!

Registration for Summer 2014

Web registration available.

Withdraw (WF) - Full Term Classes

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

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

Withdraw (WF) - Second Half Classes

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

April 25 is the last day to withdraw from Second Half Term Classes
19
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!

Registration for Summer 2014

Web registration available.

Withdraw (WF) - Full Term Classes

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

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

Withdraw (WF) - Second Half Classes

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

April 25 is the last day to withdraw from Second Half Term Classes
20
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!

Registration for Summer 2014

Web registration available.

Withdraw (WF) - Full Term Classes

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

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

Withdraw (WF) - Second Half Classes

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

April 25 is the last day to withdraw from Second Half Term Classes
21
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!

Registration for Summer 2014

Web registration available.

Withdraw (WF) - Full Term Classes

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

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

Withdraw (WF) - Second Half Classes

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

April 25 is the last day to withdraw from Second Half Term Classes
22
Open House - Online Campus

Applicants and prospective applicants can meet GPC faculty, staff, and students, submit admission applications and documents, and tour the campus.

Time: 6:00 pm to 8:00 pm
Location: Webinar

Please RSVP:
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!

Registration for Summer 2014

Web registration available.

Withdraw (WF) - Full Term Classes

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

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

Withdraw (WF) - Second Half Classes

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

April 25 is the last day to withdraw from Second Half Term Classes
23
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!

Registration for Summer 2014

Web registration available.

Withdraw (WF) - Full Term Classes

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

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

Withdraw (WF) - Second Half Classes

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

April 25 is the last day to withdraw from Second Half Term Classes
24
Open House - Dunwoody Campus

Applicants and prospective applicants can meet GPC faculty, staff, and students, submit admission applications and documents, and tour the campus.

Time: 5:00 pm to 7:00 pm
Location: Building NB, Lobby

Please RSVP:
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!

Registration for Summer 2014

Web registration available.

Withdraw (WF) - Full Term Classes

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

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

Withdraw (WF) - Second Half Classes

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

April 25 is the last day to withdraw from Second Half Term Classes
25
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!

Registration for Summer 2014

Web registration available.

Withdraw (WF) - Full Term Classes

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

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

Withdraw (WF) - Second Half Classes

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

April 25 is the last day to withdraw from Second Half Term Classes
26
Last Day for Saturday Classes

Open House - Clarkston Campus

Applicants and prospective applicants can meet GPC faculty, staff, and students, submit admission applications and documents, and tour the campus.

Time: 10:00 am to 1:00 pm
Location: Building CN, Lobby

Please RSVP:
Sign up now!

Open House - Newton Campus

Applicants and prospective applicants can meet GPC faculty, staff, and students, submit admission applications and documents, and tour the campus.

Time: 10:00 am to 2:00 pm
Location: Building 2N, Lobby

Please RSVP:
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!

Registration for Summer 2014

Web registration available.
27
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!

Registration for Summer 2014

Web registration available.
28
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!

Registration for Summer 2014

Web registration available.
29
Open House - Decatur Campus

Applicants and prospective applicants can meet GPC faculty, staff, and students, submit admission applications and documents, and tour the campus.

Time: 5:00 pm to 7:00 pm
Location: Building SF, Lobby

Please RSVP:
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!

Registration for Summer 2014

Web registration available.
30
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!

Registration for Summer 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:

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


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., Mar. 7 thru
Fri., Apr. 25

Withdraw (WF) - Full Term Classes

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

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

Tue., Apr. 1 thru
Wed., Apr. 30

Mobile Clinic Schedule for April
Dunwoody 9am 5pm 4/1 4/8 4/15 4/22 4/29 Decatur 9am 3pm 4/2 4/9 4/16 4/23 4/30 Alpharetta 9am 3pm 4/3 4/17 Newton 9am 3pm 4/10 4/24 Contact Andrease Brooms @ 678-891-3866 or Andrease.Brooms@gpc.edu

Fri., Apr. 4 thru
Wed., May. 21

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!

Mon., Apr. 7 thru
Tue., May. 27

Registration for Summer 2014

Web registration available.


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