我已经为moodle下载了一个主题,我尝试使用以下链接中的方法B将其添加到现有主题中(使用插件)。 https://www.vidyamantra.com/sales/index.php?/Knowledgebase/Article/View/242/0/how-to-install-new-theme-in-moodle
as per the steps the theme got updated in the plugin list but it is not visible in the themes(no change in available theme) so that i could not change my moodle theme.
so,please help me to resole this..
答案 0 :(得分:0)
这是一个常见问题。某些服务器(取决于它们的配置方式和安装的PHP版本)将无法正确解析主题的PHP文件。
如果您发现自己是通过前端上传主题并且它们没有出现,则需要通过FTP / cPanel(方法A)上传。
答案 1 :(得分:0)
尝试使用FTP,我使用WinSCP(windows),然后找到"主题"文件夹中。
" /无功/网络/ HTML / yourMoodle /主题"
上传" yourTheme.zip"到这个文件夹。
使用ssh解压缩文件。 (ubuntu)
usr$ sudo unzip /var/www/html/yourMoodle/theme/yourTheme.zip && sudo rm yourTheme.zip
然后去你的moodle并改变主题
答案 2 :(得分:0)
解压缩下载的主题并将其放在theme /目录下。从cli
运行升级cd admin/cli/
php upgrade.php
当您以管理员身份登录时,您应该在主题下看到它。