Project

General

Profile

Feature #7236

Add option not to show private courses in the courses catalog

Added by Yannick Warnier about 5 years ago. Updated about 5 years ago.

Status:
Feature implemented
Priority:
Normal
Category:
Global / Others / Misc
Target version:
Start date:
21/08/2014
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Although it is impossible for students to subscribe to them, private courses appear in the courses catalog.
Add a configuration setting $_configuration['course_catalog_hide_private'] = 'true'; (false by default) that, when set to true, hide the private (and closed) courses from the courses catalog.

This also implies changing the categories tree to only show the number of courses that are open or public.

As for all temporary setting (that don't go into the database because of the Chamilo version), this setting must be added (in git) to main/install/configuration.dist.php with a little explanation:

// Hide private courses from course catalog
// $_configuration['course_catalog_hide_private'] = 'true';

Associated revisions

Revision 606c84b5 (diff)
Added by Yoselyn Castillo about 5 years ago

adding option for hidding private course -refs #7236

Revision 29078298 (diff)
Added by Yoselyn Castillo about 5 years ago

Moving lines at the end of file -refs #7236

History

#1

Updated by Yoselyn Castillo about 5 years ago

  • % Done changed from 0 to 70

Changes were done in https://github.com/chamilo/chamilo-lms/pull/340
Please try it.

#3

Updated by Yannick Warnier about 5 years ago

  • Tracker changed from Bug to Feature
  • Status changed from Assigned to Feature implemented
  • % Done changed from 70 to 100

Reviewed, approved and closed

Also available in: Atom PDF