隨便選一個中文字體複製修改成default.ttf
然後複製到moodledata資料夾下的 lang//zh_tw_utf8/fonts即可
2010年12月1日 星期三
2010年10月12日 星期二
[Moodle] 修正Moodle 1.9.9無法在某些瀏覽器正常使用HTML Editor
修正方法需些改兩個檔案~ 分別如下:
/lib/moodlelib.php
/lib/editor/htmlarea/htmlarea.php
It Works!
Reference:
Making Moodle work better on #Chrome browser
http://moodle.org/mod/data/view.php?d=13&rid=3945
/lib/moodlelib.php
line 6519 } else {
line 6520 return 1;
line 6521 }
/lib/editor/htmlarea/htmlarea.php
line 2408 //alert("Mozilla < 1.3 Beta is not supported!\n" +
line 2409 // "I'll try though, but it might not work.");
line 2410 return 'HTMLArea.is_gecko';
line 2414 //return false;
line 2415 return 'HTMLArea.is_gecko';It Works!
Reference:
Making Moodle work better on #Chrome browser
http://moodle.org/mod/data/view.php?d=13&rid=3945
2010年10月9日 星期六
[Moodle]安裝佈景主題 Installing a new theme
http://docs.moodle.org/en/Installing_a_new_theme
按照以下步驟
Steps are
1) Download the zip file of the theme
1)下載新的佈景主題壓縮檔
2) Extract to it's own named folder
2) 解壓縮成資料夾
3) copy this folder to the /theme folder of your Moodle installation site
3) 複製資料夾到 moodle/theme
4) Go to yourdomain.com/admin/ or your site administration block
4) 打開你Moodle的管理區塊
5) You will have to have administrative rights as the user
5) 你必須擁有管理者的權限
6) Expand Appearance icon/link
6) 打開"外觀"選項
7) Expand Theme icon/link
7) 打開"佈景主題"
8) click on Theme Selector icon/link
8) 打開 "佈景主題選擇"
9) Find your theme picture and theme name displayed here
9) 找到你上傳的佈景主題名稱
10) First click preview link on the right side of your theme picture to preview before selection
10) 先按預覽看看喜不喜歡
11) press Choose button to select your new theme, your theme will now be displayed on the site.
11) 選擇套用你的佈景主題, 整個畫面就會換了
按照以下步驟
Steps are
1) Download the zip file of the theme
1)下載新的佈景主題壓縮檔
2) Extract to it's own named folder
2) 解壓縮成資料夾
3) copy this folder to the /theme folder of your Moodle installation site
3) 複製資料夾到 moodle/theme
4) Go to yourdomain.com/admin/ or your site administration block
4) 打開你Moodle的管理區塊
5) You will have to have administrative rights as the user
5) 你必須擁有管理者的權限
6) Expand Appearance icon/link
6) 打開"外觀"選項
7) Expand Theme icon/link
7) 打開"佈景主題"
8) click on Theme Selector icon/link
8) 打開 "佈景主題選擇"
9) Find your theme picture and theme name displayed here
9) 找到你上傳的佈景主題名稱
10) First click preview link on the right side of your theme picture to preview before selection
10) 先按預覽看看喜不喜歡
11) press Choose button to select your new theme, your theme will now be displayed on the site.
11) 選擇套用你的佈景主題, 整個畫面就會換了
2010年10月6日 星期三
[Moodle] 解決Scorm無法順利上傳檔案及解壓
使用Moodle裡的Scorm時, 如果壓縮檔檔案太大會發現無法上傳檔案
解決方法是把php.ini的post_max_size和upload_max_filesize調大
post_max_size = 500M
upload_max_filesize = 500M
成功上傳檔案後又發現新增Scorm課程時無法順利解壓縮, 導致的原因為php預設的memory是128M, 所以無法解壓大小為300Mb的檔案
調大php.ini的memory_limt即可解決
memory_limit = 512Mb
php.ini通常位於/etc/php.ini
修改完畢記得重啟Apache
# /sbin/service httpd restart
解決方法是把php.ini的post_max_size和upload_max_filesize調大
post_max_size = 500M
upload_max_filesize = 500M
成功上傳檔案後又發現新增Scorm課程時無法順利解壓縮, 導致的原因為php預設的memory是128M, 所以無法解壓大小為300Mb的檔案
調大php.ini的memory_limt即可解決
memory_limit = 512Mb
php.ini通常位於/etc/php.ini
修改完畢記得重啟Apache
# /sbin/service httpd restart
太大的檔案Moodle無法自己正常解壓縮,要使用外部程式
[網站管理]->[主機]->[系統路徑]
Linux平台:
zip的路徑:/usr/bin/zip
unzip的路徑:/usr/bin/unzip
Windows平台:(需先下載並安裝GnuWin32)
zip的路徑:C:\Program Files\GnuWin32\bin\zip.exe
unzip的路徑:C:\Program Files\GnuWin32\bin\unzip.exe
訂閱:
文章 (Atom)