File:  [LON-CAPA] / loncom / html / adm / help / tex / Domain_Configuration_Cataloging_Courses.tex
Revision 1.6: download - view: text, annotated - select for diffs
Sat Aug 20 17:48:11 2016 UTC (7 years, 10 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, HEAD
- Use LaTeX-style single and double quotes.

\label{Domain_Configuration_Cataloging_Courses}
The availability of a course/community catalog, as well as the type of 
catalog provided are both domain configurations.  A choice of catalog can be set  
for two contexts: (a) public-facing web page (i.e., unauthenticated users),
and (b) web page for authenticated users.

For each context the options are:
\begin{itemize}
\item Standard catalog (the only type available pre-LON-CAPA 2.11), which
contains both self-cataloging courses, and manually cataloged courses. 

\item Domain-only catalog, which is the same as the standard catalog, 
except no domain selector is available to switch to display course
listings in other domains.

\item Code-search form, which provides a web form to search for a 
course by the unique six character code, which can be set to be
assigned at course creation.

\item No catalog
\end{itemize}

In the standard and domain-only catalogs, self-cataloging uses the 
institutional course code assigned to the course when it is first
created, or when the course is modified by a Domain Coordinator via
{}``Modify a course''. If a course has no institutional 
code it will not appear in the category:
Official courses (with institutional codes).

A hierarchy of categories and sub-categories can be defined which
are independent of institutional course codes. These categories might
be used to catalog courses in the domain to which the {}``official courses''
designation does not apply, or they might be used to provide 
alternative ways of cataloging official courses.

Besides definition of the hierarchy of categories and sub-categories,
the {}``cataloging of courses'' screen provides two
options to be set for the domain by a Domain Coordinator, which control:

\begin{itemize}
\item Who may hide a course from the course/community catalog, if the course would
ordinarily appear by virtue of having an institutional course code,
or having been assigned to a custom category/sub-category.
\item Who may assign a custom category/subcategory to a course
\end{itemize}
In both cases, the choice is between a Domain Coordinator and a Course
Coordinator. For the former, hiding of courses and assignment of categories
will be via ``Modify Course'', while for the latter
these operations will be via ``Modify Parameters''
{}``Set Course Environment'' option in sub-menu).

Definition of custom categories is by the Domain Coordinator. The
{}``Cataloging of courses'' interface allows custom
categories and sub-categories to be defined and reordered. There is
one category listed at the top level in the hierarchy which behaves
differently to the others - the category: {}``Official courses
(with institutional codes)''. This is the category which is
used for self-cataloged courses: the option is to either display or
not display.

Although sub-categories can not be defined via this interface for
this {}``system'' category (unlike the other {}``custom'' 
categories), customization of two routines in localenroll.pm - \&instcode\_defaults()
and \&instcode\_format() are used to automatically generate linked
select boxes which will be displayed when the course/community catalog is shown
to allow users to include limits to their searches for official courses.
If these routines have not been customized, the catalog for official
courses will display all courses with institutional codes, which have
not been specifically hidden.

When \&instcode\_format() has been customized it will populate perl
structures (hashes and arrays) which LON-CAPA will use to generate
the Javascript code embedded in the course/community catalog page which is used
in the functioning of the linked select boxes. The contents of the
hashes and arrays are determined from the complete list of institutional
course codes used in the domain. For example at MSU, the following
linked select boxes are displayed for the official course/community catalog:
Year, Semester, Department, Number.

The course/community catalog is useful in domains where Course Coordinators
have opted to allow self-enrollment in their courses. In such cases,
students can include a flag to only display courses allowing self
enrollment when they display courses from the catalog. Course Coordinators
will be advised, when enabling self-enrollment, if a course is currently
unlisted in the course/community catalog (and therefore difficult for students
to locate), and the action to take to rectify the reason why there
is no listing, which could be because: 

\begin{itemize}
\item the course is hidden 
\item the course has no institutional code 
\item the course has not been assigned to any custom categories 
\item the course has an institutional code, but the 
course/community catalog has been set to not display self-cataloged 
courses.
\end{itemize}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>