2015-01-21 30 views
-1

我已經下載了一個moodle的主題,並且我試圖將它添加到使用方法B在以下鏈接(使用插件)的現有主題中。 https://www.vidyamantra.com/sales/index.php?/Knowledgebase/Article/View/242/0/how-to-install-new-theme-in-moodle在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

這可能是因爲您下載的主題與Moodle版本不兼容。你使用的是什麼版本的Moodle?該主題的下載鏈接是什麼? – 2015-01-27 03:18:27

回答

0

這是一個常見的問題。某些服務器(取決於它們的配置方式和安裝的PHP版本)不會正確解析主題的PHP文件。

如果您發現通過前端上傳主題並且他們沒有出現,您需要通過FTP/cPanel(方法A)上傳。

+0

我已經嘗試過方法A也,但問題尚未解決.. – preethi 2015-01-22 06:23:42

+0

嗨Preethi。如果您嘗試過方法A,但它不起作用,這很可能是主題的問題。 – Tim 2015-01-22 11:38:52

0

嘗試使用FTP,我使用WinSCP(Windows),然後找到「主題」文件夾。

「的/ var/www/html等/ yourMoodle /主題爲」

上傳 「yourTheme.zip」 此文件夾。

使用ssh解壓縮文件。 (Ubuntu的)

usr$ sudo unzip /var/www/html/yourMoodle/theme/yourTheme.zip && sudo rm yourTheme.zip 

然後轉到您的Moodle並更換主題

0

解壓縮下載的主題,並把它的主題/目錄下。從cli運行升級

cd admin/cli/ 
php upgrade.php 

當您以管理員身份登錄時,您應該在主題下看到它。