All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mgnl-files.templates.samples-lms.index.jsp Maven / Gradle / Ivy


  
  
     ]]>
  
  
    
      
      ${content.title}
      
      
      
    
    
      
  • samples
    • std-level-1
      1. Simple course 1
      2. Simple course 2
      • std-level2a
        1. Simple course 1
      • std-level2b
        1. Simple course 1

There are three roles, one for each folder:

  • std-level-1 which can view its courses but not subfolders
  • std-level-2a which can view its courses but not subfolders
  • std-level-3a which can view its courses but not subfolders

The user student/student has the role std-level-1; there is an example listener (net.sourceforge.openutils.mgnllms.samples.listeners.StudentLevelListener defined in /modules/lms/lms-config/listeners/student-level), that is called whenever a user complete a course and performs following actions:

  1. check if the user has successfully completed all courses to which he has access
  2. if true assign to user additional roles corresponding to the names of subfolders of the last completed course

Go to the courses list! (use student/student to access)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy