歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 28, 2024, 01:20:03 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  開發  |  外掛程式  |  lunarCalendar是一個外掛嗎? « 上篇主題 下篇主題 »
頁: [1] 2
作者 主題: lunarCalendar是一個外掛嗎?  (閱讀 25384 次)
wandererm
新手見習
*
文章: 14


檢視個人資料 個人網站
« 於: 七月 31, 2005, 09:19:50 上午 »

要從哪裡下載來使用呢?
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #1 於: 七月 31, 2005, 10:39:15 上午 »

引用自: wandererm
要從哪裡下載來使用呢?


這裡: http://blog.markplace.net/marks_development_blog/2/2005/07/13/49

Mark
已記錄

wandererm
新手見習
*
文章: 14


檢視個人資料 個人網站
« 回覆文章 #2 於: 七月 31, 2005, 12:59:42 下午 »

我安裝好了!感謝Mark哥的指導,不過為什麼我的還是顯示lunarcalendar,{$locale->tr("lunarcalendar")}沒有生效嗎?
已記錄
jerome
新手見習
*
文章: 42



檢視個人資料 個人網站
« 回覆文章 #3 於: 八月 01, 2005, 05:50:41 上午 »

引用自: wandererm
我安裝好了!感謝Mark哥的指導,不過為什麼我的還是顯示lunarcalendar,{$locale->tr("lunarcalendar")}沒有生效嗎?


您有去語系檔新增這個字串嗎?
已記錄

歡迎光臨,惡人最多之 BeB
http://beb.anyday.com.tw/
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #4 於: 八月 01, 2005, 12:20:57 下午 »

如 jerome 所說的,我忘了把 lunarcalendar 的 message 加上了!請自行把他加到 locale/locale_zh_TW.php 中。

Mark
已記錄

wandererm
新手見習
*
文章: 14


檢視個人資料 個人網站
« 回覆文章 #5 於: 八月 04, 2005, 07:34:56 下午 »

謝謝兩位的幫忙,我新增好之後,把它卸載,再重新掛上去之後`就正常了!
已記錄
WhiteCloud
初級會員
**
文章: 51


檢視個人資料 個人網站
« 回覆文章 #6 於: 八月 21, 2005, 07:25:30 下午 »

改用簡潔網址後,lunarcalendar 這個外掛似乎會有問題...正常網址應該是OK的。

後來再次用簡潔網址測試,試著在 pluginlunar.class.php 中多加一行
   include_once( PLOG_CLASS_PATH."class/net/rawrequestgenerator.class.php" );

這樣就可以用了‧不過原來有的『詳細』超連結卻不能點了...表示還沒改完整 吐舌頭
已記錄
reic
LifeType 中文發展團隊
初級會員
*****
文章: 57


檢視個人資料 個人網站
« 回覆文章 #7 於: 八月 21, 2005, 08:19:33 下午 »

引用自: WhiteCloud
改用簡潔網址後,lunarcalendar 這個外掛似乎會有問題...正常網址應該是OK的。

後來再次用簡潔網址測試,試著在 pluginlunar.class.php 中多加一行
   include_once( PLOG_CLASS_PATH."class/net/rawrequestgenerator.class.php" );

這樣就可以用了‧不過原來有的『詳細』超連結卻不能點了...表示還沒改完整 吐舌頭


簡潔網址  沒問題啊,我就是用簡潔網址啊,沒有做任何的修正就可以使用了。
已記錄

歡迎光臨 Reic's place
WhiteCloud
初級會員
**
文章: 51


檢視個人資料 個人網站
« 回覆文章 #8 於: 八月 21, 2005, 08:20:28 下午 »

後續測試,把顯示的這一段換地方擺就好了,怪哉?? 還沒搞清楚怎麼回事...疑惑

<div id="Calendar">
{* Start of Lunar Plugin *}
{if !empty($lunar)}
{if $lunar->isEnabled()}
{$lunar->show()}
{/if}
{/if}
{* End of Lunar Plugin *}
</div>
已記錄
hsuliang
新手見習
*
文章: 17


檢視個人資料
« 回覆文章 #9 於: 十月 07, 2005, 10:36:12 下午 »

後續測試,把顯示的這一段換地方擺就好了,怪哉?? 還沒搞清楚怎麼回事...疑惑

<div id="Calendar">
{* Start of Lunar Plugin *}
{if !empty($lunar)}
{if $lunar->isEnabled()}
{$lunar->show()}
{/if}
{/if}
{* End of Lunar Plugin *}
</div>

請問一下:
我最近也在試這個外掛,可是我只要我把程式碼擺在哪,以下的畫面就通通不見了,農民曆也顯示不出來,不知為何?x_x (‧_‧?)
已記錄
WhiteCloud
初級會員
**
文章: 51


檢視個人資料 個人網站
« 回覆文章 #10 於: 十月 08, 2005, 05:41:29 上午 »

顯示的這一段是要放在模板裡面,但是放在不同的地方會影響畫面顯示的效果,不同的模板的不同位置,顯示也可能有差別。

所以請先將您所用的模板名稱,您將程式擺在哪個檔案,以及這段程式擺放的位置貼在板上,才方便大家幫您看問題。 微笑
已記錄
hsuliang
新手見習
*
文章: 17


檢視個人資料
« 回覆文章 #11 於: 十月 10, 2005, 10:02:06 下午 »

顯示的這一段是要放在模板裡面,但是放在不同的地方會影響畫面顯示的效果,不同的模板的不同位置,顯示也可能有差別。

所以請先將您所用的模板名稱,您將程式擺在哪個檔案,以及這段程式擺放的位置貼在板上,才方便大家幫您看問題。 微笑

這是我的head.template,農民曆就放在紅色字的地方,測試結果,程式以下的地方完全不顯示(這包括post.template及panel.template也是如此)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$locale->getLanguageId()}" lang="{$locale->getLanguageId()}" dir="{$locale->getDirection()}">
<head>
   <meta http-equiv="Content-Type" content="text/html;charset={$locale->getCharset()}" />
   <meta name="generator" content="{$version}" />
   <meta http-equiv="Content-Language" content="{$locale->getLanguageId()}" />
   <title>{$blog->getBlog()}{$postPageTitle}</title>
   <link rel="stylesheet" title="Default" href="{$url->getTemplateFile("style.css")}" type="text/css" />
   <link rel="alternate" type="text/xml" title="RSS 2.0" href="{$url->rssLink("rss20")}" />
   <link rel="alternate" type="text/xml" title="RSS 1.0" href="{$url->rssLink("rss10")}" />
   <link rel="alternate" type="text/xml" title="RSS 0.90" href="{$url->rssLink("rss090")}" />
   <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="{$url->rssLink("atom")}" />
</head>
<body>
   <div id="rap">
      <ul id="topnav">
                        <li>
                            {if !empty($lunar)}
                            {if $lunar->isEnabled()}
                            {$lunar->show()}
                            {/if}
                            {/if}
                        </li>
         <li><a href="{$url->blogLink()}">{$locale->tr("main")}</a>|</li>
         <li><a href="{$url->getAdminUrl()}" accesskey="2">{$locale->tr("dashboard")}</a>|</li>
         <li><a href="{$url->albumLink()}">{$locale->tr("albums")}</a>|</li>
      </ul>
      <div id="header">
         <h1><a href="{$url->blogLink()}" accesskey="1"> {$blog->getBlog()}</a></h1>
         <div class="description">{$blog->getAbout()}</div>
      </div>
      <hr />
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #12 於: 十月 11, 2005, 02:32:42 上午 »

hsuliang:

1. 你看一下 apacge 中有沒有error.log,請把他 post 上來。
2. 網頁上有沒有 error 訊息,有也請貼上來。
3. 或者把網址貼上來讓我們看也可以?

Mark
已記錄

hsuliang
新手見習
*
文章: 17


檢視個人資料
« 回覆文章 #13 於: 十月 11, 2005, 09:40:07 上午 »

hsuliang:

1. 你看一下 apacge 中有沒有error.log,請把他 post 上來。
2. 網頁上有沒有 error 訊息,有也請貼上來。
3. 或者把網址貼上來讓我們看也可以?

Mark

謝謝Mark*^_^*
   
1.錯誤當時的訊息如下:
[Tue Oct 11 10:32:36 2005] [error] [client 163.22.116.10] File does not exist: /var/www/html/plog/2
[client 163.22.116.10] PHP Fatal error:  Cannot instantiate non-existent class:  rawrequestgenerator in /var/www/html/plog/plugins/lunar/pluginlunar.class.php on line 68
[Tue Oct 11 10:32:37 2005] [error] [client 163.22.116.10] File does not exist: /var/www/html/favicon.ico
[Tue Oct 11 10:32:41 2005] [error] [client 163.22.116.10] File does not exist: /var/www/html/plog/2
[client 163.22.116.10] PHP Fatal error:  Cannot instantiate non-existent class:  rawrequestgenerator in /var/www/html/plog/plugins/lunar/pluginlunar.class.php on line 68


2.網頁上沒出現任何錯誤訊息

3.網址如下:http://ms1.ptips.ntct.edu.tw/plog/2,但因為要維持正常使用,所以您看不到錯誤的樣子^.^|||
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #14 於: 十月 11, 2005, 09:51:20 上午 »

引用
[client 163.22.116.10] PHP Fatal error:  Cannot instantiate non-existent class:  rawrequestgenerator in /var/www/html/plog/plugins/lunar/pluginlunar.class.php on line 68

mmm ... 這是 bug ...

在 pLog/plugins/lunar/pluginlunar.class.php 這之程式的最前面接近 include_once(....) 加上一行

程式碼:
include_once( PLOG_CLASS_PATH."class/net/rawrequestgenerator.class.php" );

試試看吧!

記得,下次問問題時,請『盡量仔細』的描述你的問題,當然還包含錯誤訊息,否則又浪費了來回一次的問答時間。你描述的越仔細,我們就回答的越快,這不是很好嗎? 微笑

Mark
已記錄

頁: [1] 2
LifeType 中文開發論壇  |  開發  |  外掛程式  |  lunarCalendar是一個外掛嗎? « 上篇主題 下篇主題 »
    前往: