Get Started
Wrapping a unit involves several steps:
- Testing Wrapper Availability
- Upload a simple template file to your unit website and determine whether the Wrapper is operational
- Declaring Your Unit
- Create a special file in which you declare the characteristics, or variables, that are unique to your unit
- Associating Pages With Your Unit
- Modifying your template page to command the wrapper to incorporate your unit specifications
- Implementing Page Specific Commands
- Modifying your template page to command the wrapper to incorporate unique page specifications
Unit
The wrapper operates at a unit level. A unit is a collection of pages that share common characteristics, such as owner, navigation and presentation. Common examples of a unit include a departmental or organization unit website (Student Affairs, Library, The Web3 Committee), or a topical website supported by a particular organizational unit (The Wrapper Documentation website, Virtual Information Station, The UNCG News service). Typically, pages of a unit are physically located either in the same directory or in a series of sub-directories. Units cannot cross Hosts, virtual or physical.
Unit and Page Variables
A Unit's characteristics are communicated to the wrapper via variables (or vars, for short). A particular page of a unit can also have characteristics. The wrapper recognizes the following variables:
| VAR | Value | Description |
|---|---|---|
DEPT_NAME |
Department Name | Name of the department that controls the unit Ex: Office for Left-handed Students |
DEPT_LOCATION |
Campus Location | Building Name or Room and Building Name Ex: Suite 101, EUC (see: UNCG Addressing for more information) |
DEPT_ADDRESS |
Department Address | Optional, Street Address of the department or additional line for a secondary building location Ex: 1008 Administration Dr. |
DEPT_ADDRESS2 |
Department Address, Line 2 | Optional, the default is "Greensboro, NC 27402-6170" (for more information on the appropriate zip code, see: UNCG Addressing) |
DEPT_PHONE |
Department Phone | Ex: 336.334.LEFT |
DEPT_FAX |
Department Fax | NOTE: Optional |
DEPT_EMAIL |
Department Email | Not a personal account, but a resources account or deparmental alias Ex: lefty@uncg.edu NOTE: Optional |
UNIT_NAME |
Unit Name | Typically a shortened version of the Departmental Name. Ex: Left-Handed Students |
UNIT_URL |
Unit Homepage Address | The complete website address of the homepage of the Unit; starts with "http://" |
UNIT_LAYOUT |
LIQUID |
Included if you want your unit to have a flexible width page rather than the default fixed width (720px) page. |
UNIT_HEADER |
Path to File | Additional header (HEAD element) content NOTE: Optional |
UNIT_MENU |
Path to File | Additional navigational content NOTE: Optional |
UNIT_GOLDBAR |
Path to File | Additional navigational content NOTE: Optional |
UNIT_BLUEBAR |
Path to File | Additional navigational content NOTE: Optional |
UNIT_ADMIN |
Path to File | Additional footer content NOTE: Optional |
PAGE_TITLE |
Path to File | Title bar (TITLE element) content NOTE: Optional |
PAGE_SIDEBAR |
Path to File | Sidebar (right-hand side) content NOTE: Optional |
PAGE_HEADER |
Path to File | Additional header (HEAD element) content NOTE: Optional |