ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


courses operation access


  • 2012-02-22 05:37:04

    courses operation access

    If you are asking for help, provide lots of detail so problems can be reproduced.


    I want to give courses operations (creation, updation, deletion)to only admin. Means Instructor can not do the operation. Is there any possibility?
    Or any help that I can do it?

    Things to describe:
    Operating system ATutor is installed on - Win 2008 server
    ATutor version -2.0.3(r11495 - 2011-09-13 13:27:29)
    Patch #s applied -
    ATutor theme name - customized
    PHP version - 5.3.5
    MySQL version - 5.1.49-community
    Webserver & version - IIS 7
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2012-02-22 09:08:30

    Re: courses operation access

    There is not a setting, but you could comment out the following lines in include/lib/menu_pages.php

    [php]
    $_pages['mods/_core/courses/users/create_course.php']['title_var'] = 'create_course';
    $_pages['mods/_core/courses/users/create_course.php']['parent'] = 'users/index.php';
    $_pages['mods/_core/courses/users/create_course.php']['guide'] = 'instructor/?p=creating_courses.php';
    $_pages['users/index.php']['children'] = array_merge(array('mods/_core/courses/users/create_course.php'), isset($_pages['users/index.php']['children']) ? $_pages['users/index.php']['children'] : array());



    [/php]