【问题标题】:Moodle Install plugin setting doesn't appear in Site administrationMoodle 安装插件设置未出现在站点管理中
【发布时间】:2022-04-08 00:02:49
【问题描述】:

我是moodle的新用户,我正在尝试创建一个教育平台。我目前使用moodle的免费版本,所以我可以测试功能,并在试用期结束后购买许可证。我的问题是我正在尝试从插件上传主题,但“站点管理”上没有出现“安装插件”按钮。我是论坛里唯一的超级管理员。我见过一些类似的问题,其中大多数问题的答案是确保您使用超级管理员视图查看(但我确信这不是问题)。

我已经把这个网站托管到moodle官方服务器上。经过搜索和多次重新安装平台,没有设法找出问题所在。

有没有人遇到同样的问题并找到解决办法?

【问题讨论】:

    标签: plugins moodle


    【解决方案1】:

    您可以编辑或查看yourmoodlesite/config.php 吗?

    它有这些设置之一吗?

    $CFG->disableonclickaddoninstall = true;
    
    $CFG->disableupdateautodeploy = true;
    

    要么删除它们,要么设置为false

    更多详情见yourmoodlesite/config-dist.php

    Moodle 的新版本

    // Use the following flag to completely disable the installation of plugins
    // (new plugins, available updates and missing dependencies) and related
    // features (such as cancelling the plugin installation or upgrade) via the
    // server administration web interface.
    //
    //      $CFG->disableupdateautodeploy = true;
    

    旧版本的 Moodle

    // Use the following flag to completely disable the On-click add-on installation
    // feature and hide it from the server administration UI.
    //
    //      $CFG->disableonclickaddoninstall = true;
    

    【讨论】:

    • 在看到您的回答并进行了更多研究之后,我在这里对我过去的问题有一种“答案”。我意识到在moodle服务器上托管你的moodle平台是一个非常糟糕的选择。将它托管在任何其他服务器提供商上会更好。使用此选项,可以更轻松地更改平台的核心代码。至少这对我来说很完美。我找不到从moodle服务器编辑文件的方法。当然,问题正是配置文件中的这一行。非常感谢!!
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-01-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-04-04
    • 1970-01-01
    相关资源
    最近更新 更多