Skip to content

[URGENTE] No se puede modificar la configuración de ningun curso. #5583

Closed Answered by NicoDucou
tecnicoclima asked this question in General
Discussion options

You must be logged in to vote

Hola @tecnicoclima

Se puede ver en el codigo la parte siguiente que bloquea el formulario :

if (is_settings_editable()) {
    $form->addButtonSave(get_lang('SaveSettings'), 'submit_save');
} else {
    // Is it allowed to edit the course settings?
    if (!is_settings_editable()) {
        $disabled_output = "disabled";
    }
    $form->freeze();
}

Y la funcion is_settings_editable esta asi :

function is_settings_editable()
{
    return isset($GLOBALS['course_info_is_editable']) && $GLOBALS['course_info_is_editable'];
}

El parametro course_info_is_editable esta definido en un archivo de configuracion.
En app/config/course_info.conf.php deberias de tener una linea con :
$course_info_is_e…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by NicoDucou
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment