Skip to Navigation | Skip to Content

Calvin Template - About configure.inc

The configure.inc file contains all of the settings that enable you to customize your department's page.

You do not need to edit the configure.inc file for your department. If you do want to change any of your department's configuration settings, including your site's color template, please contact us, and we'll gladly take care any changes you want.

Although you don't need to edit configure.inc (we'll edit it for you), this page explains how to do so if you wish.

Overview

The configure.inc contains five variables that you can change:

Variable Brief Description Example
DEPT_NAME The department's name, which is displayed in the top right corner of the page and functions as the department's nameplate. Web Manager
DEPT_URL The URL of the department's home page. /admin/webmanager/
CONTACT_NAME The name displayed in the "Contact" area of the footer. Luke Robinson
CONTACT_ADDRESS The email address or URL associated with the contact name. webmanager@calvin.edu
TEMPLATE_COLOR An integer representing the template color used to style the appearance of the header, page background, and footer. 1

When you open configure.inc, it will look similar to this:

<!--#set var="DEPT_NAME"       value="Web Manager" -->
<!--#set var="DEPT_URL"        value="/admin/webmanager/" -->

<!--#set var="CONTACT_NAME"    value="Luke Robinson" -->
<!--#set var="CONTACT_ADDRESS" value="webmanager@calvin.edu" -->

<!--#set var="TEMPLATE_COLOR"  value="1" -->

Each of the five lines in the file sets a variable.

How to Change A Variable

You may change the value of one (or more) of the variables simply by changing what is within the quotation marks.

For example, if we wanted to change the CONTACT_NAME from Luke Robinson to Webmanager, we would change the appropriate line in configure.inc from

<!--#set var="CONTACT_NAME" value="Luke Robinson" -->

to

<!--#set var="CONTACT_NAME" value="Webmanager" -->

Likewise, if we wanted to change TEMPLATE_COLOR from 1 to 3, we would change the appropriate line in configure.inc from

<!--#set var="TEMPLATE_COLOR" value="1" -->

to

<!--#set var="TEMPLATE_COLOR" value="3" -->

After making both of those changes, our configure.inc file would now look like:

<!--#set var="DEPT_NAME"       value="Web Manager" -->
<!--#set var="DEPT_URL"        value="/admin/webmanager/" -->

<!--#set var="CONTACT_NAME"    value="Webmanager" -->
<!--#set var="CONTACT_ADDRESS" value="webmanager@calvin.edu" -->

<!--#set var="TEMPLATE_COLOR"  value="3" -->

More About Each Variable

DEPT_NAME

You may include any valid HTML tags within your department's name.

For example, if we wanted to force Web and Manager to be on separate lines, we could insert a line break tag (<br />) into the DEPT_NAME variable:

<!--#set var="DEPT_NAME" value="Web<br />Manager" --> 

Also, because this variable accepts HTML tags, you must enter &amp; if you want an & to display. For example, Communication Arts & Science would be:

<!--#set var="DEPT_NAME" value="Communication Arts &amp; Sciences" -->
DEPT_URL

The department name (DEPT_NAME) is hyperlinked to this URL. You will never need to change this.

CONTACT_NAME

The name of the person (or position) to contact in case of comments or questions about your website. This is displayed in the "Contact" section of the footer.

CONTACT_ADDRESS

The contact name is hyperlinked to this address, which may be either an email address or a web page address (a URL).

If this is an email address, do not include "mailto:" before the address.

If this is a web page address, make sure to include the full path to the page so that the address will be valid on all pages of your website. For example, instead of setting this equal to contact_us.htm, set it equal to /parents/contact_us.htm .

<!--#set var="CONTACT_ADDRESS" value="/parents/contact_us.htm" -->
TEMPLATE_COLOR

There are six different color templates, numbered 1 through 6, for you to choose from. Changing this variable will change the color template that your site is wrapped in.

Screenshots and live examples of each of the templates are available on the templates page.

Each available template includes a pre-designed header and footer. However, if you wish to use your own header, you may set the template color to 0 (zero), which will display no header with the assumption that you will display your own header.

<!--#set var="TEMPLATE_COLOR" value="0" -->