歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 28, 2024, 11:38:40 上午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  一些小問題... « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 一些小問題...  (閱讀 18577 次)
jongjiannwei
新手見習
*
文章: 9


檢視個人資料
« 於: 十一月 01, 2007, 09:26:34 下午 »

再處理完資料庫問題後,一發現些問題...
就是上傳模版後,到部落格設定居然發生部落格標題問題
就是不管怎麼打都有問題...
所以現在想要重灌成1.1.1~1.1.2
不知道資料庫是否可以用到比較舊的部落格版本
另外~
不知道有沒有辦法改最下方的作者資訊?
就Powered by LifeType Valid XHTML 1.0 Strict and CSS
這邊的
我並不是要用掉他,只是想加上我的網址...
已記錄
hlps9999
版主
資深會員
*****
文章: 288



檢視個人資料 個人網站
« 回覆文章 #1 於: 十一月 01, 2007, 10:20:06 下午 »

再處理完資料庫問題後,一發現些問題...
就是上傳模版後,到部落格設定居然發生部落格標題問題
就是不管怎麼打都有問題...
你是指中文網誌名稱的問題嗎?假如是,請更新到 1.2.5版就可以
http://www.lifetype.net/post/2007/10/29/lifetype-1.2.5-released

不知道有沒有辦法改最下方的作者資訊?
就Powered by LifeType Valid XHTML 1.0 Strict and CSS
這邊的
我並不是要用掉他,只是想加上我的網址...
看一下 footer.template
已記錄
jongjiannwei
新手見習
*
文章: 9


檢視個人資料
« 回覆文章 #2 於: 十一月 02, 2007, 01:17:42 下午 »

直接上去就好了嗎?
還是一樣備份
之後重灌?
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #3 於: 十一月 02, 2007, 02:24:10 下午 »

直接覆蓋就可以了,但是記得別把你自己的 config.properties.php 覆蓋過去。

覆蓋過後,重新設定你的部落格名稱就可以了。

Mark
已記錄

jongjiannwei
新手見習
*
文章: 9


檢視個人資料
« 回覆文章 #4 於: 十一月 07, 2007, 06:02:25 下午 »

不好意思現在才回
我想再問兩個問題
不知道1.2.1的資料庫備份檔
可以用到1.1.2的嗎?~!
那個
# 主頁面
# 資料夾
# 管理介面
# 聯絡我
這裡的修改面是在...?
另外~
恭喜喔~!
 網友票選:LifeType 中文開發支援社群 (Mark Wu)
禮物是啥要說嘿!
已記錄
hlps9999
版主
資深會員
*****
文章: 288



檢視個人資料 個人網站
« 回覆文章 #5 於: 十一月 07, 2007, 10:24:57 下午 »

不知道1.2.1的資料庫備份檔
可以用到1.1.2的嗎?~!
應該不行吧!你可以試試看,因為好像沒有人這麼做過。
舊的版本一定是有一些bug存在,所以才會有新的版本產生。

那個
# 主頁面
# 資料夾
# 管理介面
# 聯絡我
這裡的修改面是在...?


你的模板名稱是什麼呢?先知道這個才有辦法回答你
已記錄
jongjiannwei
新手見習
*
文章: 9


檢視個人資料
« 回覆文章 #6 於: 十一月 08, 2007, 07:19:20 下午 »

喔~原來版模也有差喔!
那就以
http://blog.markplace.net/marks_place/10/2007/09/26/301
這篇文章的Nonzero吧!
(歸0?)
已記錄
hlps9999
版主
資深會員
*****
文章: 288



檢視個人資料 個人網站
« 回覆文章 #7 於: 十一月 08, 2007, 10:21:52 下午 »

header.template

一般來說,想要知道你的網誌首頁上的模板配置,先看一下main.templae,通常main.template 裡會有4或5行的
{include file="$blogtemplate/XXX.template"}

header.template :網誌的頭部(上半部)
footer.template :網誌的底部(有些模板的這footer.template檔案又可能是側邊欄+底部)
post.template:你發表的文章那裡
panel.template:你的側邊欄,不過這側邊欄的模板檔案名稱也可能是 links、footer、sidebar,這不一定,每個模板都不一定一樣。

以mark的那個Nonzero來說,你看一下main.template,裡面有三行 include file

程式碼:
{include file="$blogtemplate/header.template"}

{foreach from=$posts item=post name=postIndex}
{include file="$blogtemplate/post.template"}
{/foreach}
{pager style="links"}

{include file="$blogtemplate/footer.template"}

你再看一下 footer.template
裡面有兩行include file
程式碼:
{include file="$blogtemplate/sidebar_1.template"}
{include file="$blogtemplate/sidebar_2.template"}

這兩個sidebar,就是那兩個側邊欄的模板檔案。

其他的,參考一下電子書裡的「3 簡介LT模板架構」

以及文件裡的「 模版如何運作?

花點時間K些資料,你會有滿滿的收穫。


已記錄
jongjiannwei
新手見習
*
文章: 9


檢視個人資料
« 回覆文章 #8 於: 十一月 08, 2007, 10:51:23 下午 »

我會在努力的喬出時間去找
很抱歉~因為上網時間,最近變少了
(眼睛好痛=.=)
另外...
恩...

http://jongjiannwei.com/tw/blog/index.php?op=ViewArticle&articleId=2&blogId=1
1.1.4版的
-----------
Exception message: Smarty error: unable to read resource: "./templates/misc/commentform.template"
Error code: 512
-- Backtrace --
/home/j2wwhy3s/public_html/tw/blog/class/template/smarty/Smarty.class.php(1095): trigger_error
/home/j2wwhy3s/public_html/tw/blog/class/template/smarty/Smarty.class.php(1591): cachedtemplate.trigger_error
/home/j2wwhy3s/public_html/tw/blog/class/template/smarty/Smarty.class.php(1417): cachedtemplate._fetch_resource_info
/home/j2wwhy3s/public_html/tw/blog/class/template/smarty/Smarty.class.php(1869): cachedtemplate._compile_resource
/home/j2wwhy3s/public_html/tw/blog/tmp/1/%%B4^B4B^B4B47C47%%postandcomments.template.php(24): cachedtemplate._smarty_include
/home/j2wwhy3s/public_html/tw/blog/class/template/smarty/Smarty.class.php(1265): include
/home/j2wwhy3s/public_html/tw/blog/class/template/cachedtemplate.class.php(48): smarty.fetch
/home/j2wwhy3s/public_html/tw/blog/class/view/smartyview.class.php(255): cachedtemplate.fetch
/home/j2wwhy3s/public_html/tw/blog/class/view/blogview.class.php(252): smartyview.render
/home/j2wwhy3s/public_html/tw/blog/class/view/viewarticleview.class.php(72): blogview.render
/home/j2wwhy3s/public_html/tw/blog/class/controller/controller.class.php(330): viewarticleview.render
/home/j2wwhy3s/public_html/tw/blog/index.php(50): blogcontroller.process
已記錄
hlps9999
版主
資深會員
*****
文章: 288



檢視個人資料 個人網站
« 回覆文章 #9 於: 十一月 08, 2007, 11:29:05 下午 »

Mark的那個模板是給1.2版使用的,你要用在1.1,應該還要再改幾個檔案
建議你去找 for 1.1 的模板來用吧!
已記錄
jongjiannwei
新手見習
*
文章: 9


檢視個人資料
« 回覆文章 #10 於: 十一月 09, 2007, 11:05:53 上午 »

恩恩~問題都解決了
感謝各位版大...
小的懵懂無知~還請今後多多指教...
已記錄
頁: [1]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  一些小問題... « 上篇主題 下篇主題 »
    前往: