Ms7 Search
Google 搜尋 翻譯
calendar
« 九月 2024 »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
近期文章
文章分類
網站連結
Syndicate

分類: LifeType,Moodle

網址設定(自訂網址)

2007-04-29 @ 21:48 in LifeType,Moodle

lifetype 自訂網址的設定,好像有點不太好了解,也有點懶得去了解,在網上找到,比照辦理就ok

http://ms7.fhsh.tp.edu.tw/blog/index.php?blogId=1  ==> http://ms7.fhsh.tp.edu.tw/blog/root

直接打網誌管理者名稱,是不是容易記多了,修改如下

  1. 在 /etc/httpd/conf/httpd.conf 下將 /var/www/html/blog 內的  AllowOverride All ,這樣目錄下的 .htaccess 才有作用
  2. 將 .htacess 內的
    RewriteBase /lifetype
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /lifetype/blog.php
    ErrorDocument 401 /lifetype/error.php
    ErrorDocument 403 /lifetype/error.php
    ErrorDocument 404 /lifetype/error.php
  3. 在全站台管控 => 網址設定 如下
    request_format_mode => 自訂網址
    permalink_format => /{blogowner}/archives/{postid}$
    category_link_format => /{blogowner}/category/{catid}$
    blog_link_format => /{blogowner}$
    archive_link_format => /{blogowner}/archive/{year}{month}{day}$
    user_posts_link_format => /{blogowner}/archives/author/{username}$
    post_trackbacks_link_format => /{blogowner}/archives/{postid}/trackbacks/$
    template_link_format => /{blogowner}/static/{templatename}$
    album_link_format => /{blogowner}/resource/{albumid}$
    resource_link_format => /{blogowner}/resource/{albumid}/{resourceid}$
    page_suffix_format => /page/{page}
  4. ok

lifetype1.2無法縮圖

2007-04-29 @ 19:21 in LifeType,Moodle

lifetype1.2上傳圖檔,無法產生縮圖,上網找才知,php-gd的相容可能有問題,改成 ImageMagick 做縮圖就可以了,如下圖

學校交通圖

lifetype1.2* 的 summary.php 與 ZendOptimizer

2007-04-24 @ 20:16 in LifeType,Moodle

Smile在安裝 Lifetype1.2? 的時候,summary.php 都不能使用,後來在 Google 找到,有人說是 ZendOptimizer 的關係,去 download 最新版的 ZendOptimizer v3.2.6 來裝,竟然就可以了

 

«上一篇   1 2 3