Setting new course default vlaues

Home Forums Legacy Support Support queries Setup issues Setting new course default vlaues

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #17298
    sriadmin
    Participant
    hi, we would like to set the course default values for
    • number of retakes (to 5, instead of 0)

    • auto evaluation (for course)

    I have looked in various areas on WPLMS but can't see how this can be done. Is there some other way? having the correct defaults will make it easier for our course creators, thanks, Sue  

    #17343
    Anshuman Sahu
    Keymaster
    Please try adding the given code in your wplms-customizer.php file at the end before "?>"  in wplms customizer plugin . add_filter('wplms_course_metabox','custom_wplms_course_metabox33',9999); function custom_wplms_course_metabox33($course_settings){   $course_settings['vibe_course_retakes']['std']=5;   $course_settings['vibe_course_auto_eval']['std']='S';   return $course_settings; } add_filter('wplms_course_creation_tabs','custom_wplms_course_creation_tabs',9999); function custom_wplms_course_creation_tabs($settings){   $settings['course_settings']['fields'][13]['default']=5;   $settings['course_settings']['fields'][1]['default']='S';   return $settings;   }
    #17708
    sriadmin
    Participant
    thanks Alex. Does this mean this code would need to be re-added each time the customizer plugin was upgraded? regards Sue
    #17787
    Anshuman Sahu
    Keymaster
    Wplms customizer is provided to customize the wplms .It never gets any updates . So there will be no need to add the code again.
    #17933
    sriadmin
    Participant
    thanks Alex, that's great.
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Setting new course default vlaues’ is closed to new replies.