Skip to content

(In development) WordPress plugin that manages course syllabi.

License

Notifications You must be signed in to change notification settings

ufclas/ufclas-syllabus-manager

Repository files navigation

UFCLAS Syllabus Manager

(In development) Manages custom post types, taxonomies, and metadata for the CLAS Syllabus website.

Installation

Download and unzip files into a folder named 'ufclas-syllabus-manager' in the plugins directory. Activate plugin in your site.

Required

Recommended

Documentation

Getting Started

Importing Course Data

[0] => Array
(
    [code] => AFS2002
    [name] => Course Title
    [sections] => Array
        (
        [0] => Array
            (
            [number] => 109B
            [display] => 109B
            [credits] => 3
            [genEd] => Array
            (
                [0] => N
                [1] => S
            )
            [sectWeb] => C
            [rotateTitle] => 
            [deptCode] => 011650000
            [deptName] => AFRICAN STUDIES
            [finalExam] => 15B
            [grWriting] => 
            [courseFee] => 0
            [EEP] => Y
            [LMS] => CANVAS
            [instructors] => Array
            (
                [0] => Array
                (
                    [name] => Last, First
                )
            )
            [meetTimes] => Array
            (
                [0] => Array
                (
                    [meetNo] => 1
                    [meetDays] => Array
                    (
                        [0] => T
                    )
                    [meetTimeBegin] => 11:45 AM
                    [meetTimeEnd] => 12:35 PM
                    [meetPeriodBegin] => 5
                    [meetPeriodEnd] => 5
                    [meetBuilding] => MAT
                    [meetBldgCode] => 0406
                    [meetRoom] => 0102 
                )
                [1] => Array
                (
                    [meetNo] => 2
                    [meetDays] => Array
                    (
                        [0] => R
                    )
                    [meetTimeBegin] => 11:45 AM
                    [meetTimeEnd] => 1:40 PM
                    [meetPeriodBegin] => 5
                    [meetPeriodEnd] => 6
                    [meetBuilding] => NRN
                    [meetBldgCode] => 0101
                    [meetRoom] => 0184 
                )
            )
        )
    )
)

Managing User Roles

The default administrator role is granted access to all courses and settings on plugin activation.

Syllabus Administrator Role that can manage all courses and media, not WordPress settings, plugins, or themes. Based on the administrator role.

  • Can view/edit all courses
  • Can view/edit all documents
  • Can view/edit all instructors, departments, semesters, and program levels
  • Can import or update courses from source

Syllabus Department Admin Role that can manage courses and media only for a department. Based on the editor role.

  • Can view/edit courses based on department
  • Can view/edit PDF documents based on department

Setting User Role and Department

Users with the Syllabus Department Admin role must have a department set before they can view any courses or media.

  • Edit the user's profile by going to Users in the dashboard menu.
  • Change the Role to Syllabus Department Admin.
  • In the Select Department section, place a check next to the department name.

The list of departments comes from the Departments taxonomy. To test that access has been granted correctly, you can use a plugin like User Switching.

Managing Courses

Syllabus Manager adds the Courses and Syllabus Manager menu items to the dashboard menu.

Post Type:

  • Courses (syllabus_course)

Taxonomies:

  • Departments: Used to categorize Courses (syllabus_department)
  • Semesters (syllabus_semester)
  • Instructors (syllabus_instructor)
  • Program Level (syllabus_level)

Departments

The Department is a custom taxonomy that can be assigned to Courses or Media post types. Departments can have sub-departments.

Taxonomy (syllabus_department):

  • Name - Title displayed in department list page.
  • Slug - Appears in department detail page URL.
  • Description - Appears in department detail page.

Term Meta:

  • Department Code: Optional internal code for department (sm_department_id)
  • Website: URL to department website (sm_department_website)
  • Cover Image: ID of uploaded image for department detail page. (sm_department_cover)

Semesters

Program Levels

Instructors

Managing Syllabus Documents

Managing Reports

Changelog