歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 20, 2024, 02:36:32 上午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  開發  |  模版設計  |  模版發表  |  POS_FreeLogo_PiC « 上篇主題 下篇主題 »
頁: [1]
作者 主題: POS_FreeLogo_PiC  (閱讀 20347 次)
LiP
新手見習
*
文章: 43


MyZephyr


檢視個人資料 個人網站
« 於: 九月 26, 2006, 07:23:14 下午 »

找了個空檔把以前 pLog 0.32 的部分功能改到 LifeType1.1 的模板上頭....
許多註冊使用的朋友對於修改模板毫無頭緒,但又希望自己的網誌與眾不同....
在下雖然能夠體會那些朋友的心情,偏偏對於撰寫程式也是一籌莫展....
所以用了些笨方法,讓每個網製的使用者可以稍微方便的修改自己的網誌佈景....

這裡發布的 POS_FreeLogo_PiC 模板增加的功能如下:


1.【 FavIcon 】
1.製作一個16x16px大小的GIF格式圖檔,圖樣儘量簡單點,因為在網址列顯示出來的像素只有16x16px....
(當然,為了製作方便你可以用等比例稍大的圖檔製作)

2.把這個圖檔命名為 你的網誌ID_favicon.gif,上傳,完成....



2.【 Logo 圖檔 】
1.製作你想使用的 gif 格式圖檔....
(本模板LOGO圖檔預設尺寸為 "720px" x "120px" 不重複顯示....)

2.檔名命名為 你的網誌ID_logo.gif ,上傳,完成....



3.【 隨機相片 】
1.製作你想使用的 jpg 格式圖檔....
(本隨機相片為五張圖檔隨機輪播,預設縮圖尺寸為 "120px" x "160px" ....)

2.請五個圖檔分別命名為  網誌ID_PiC01.jpg、網誌ID_PiC_02.jpg、網誌ID_PiC03.jpg、網誌ID_PiC04.jpg、網誌ID_PiC05.jpg,上傳,完成....


置入 logo圖檔 的方式如加以擴展,使用者將可以利用背景圖的方式,任意改變自己網誌的顏色和圖樣~

若不需要 隨機相片 直接將 panel.template 裡頭的語法拿掉即可....

以上,希望可以讓每個網誌使用者的網誌佈景更豐富~


« 最後編輯時間: 十月 20, 2006, 12:21:09 下午 由 LiP » 已記錄

:: ■PowerOS無限誌 :: ■激走無限 ::
FreeBSD - 6.1
Apache - 2.0.59
PHP - 4.4.4
MySQL - 4.0.27
james
版主
超級會員
*****
文章: 823


哼!!你不說,誰會知道你做過那些修改呢!? (丟滑鼠~~)


檢視個人資料 個人網站
« 回覆文章 #1 於: 九月 26, 2006, 10:11:33 下午 »

感謝你的分享囉 開懷大笑

James.
« 最後編輯時間: 九月 26, 2006, 10:13:44 下午 由 james » 已記錄

記得發問前,先使用搜尋功能找找看有沒相關的解答。
如果找不到,請依照如何在LifeType論壇發問來提問喔。
ga009900
新手見習
*
文章: 10



檢視個人資料
« 回覆文章 #2 於: 十月 15, 2006, 10:21:13 上午 »

Exception message: Smarty error: [in POS_FreeLogo_PiC/main.template line 8]: syntax error: unrecognized tag 'pager' (Smarty_Compiler.class.php, line 551)
Error code: 256
-- Backtrace --
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty.class.php(1108): trigger_error
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty.class.php(1870): smarty_compiler.trigger_error
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty_Compiler.class.php(2131): smarty_compiler._trigger_fatal_error
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty_Compiler.class.php(551): smarty_compiler._syntax_error
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty_Compiler.class.php(298): smarty_compiler._compile_tag
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty.class.php(1506): smarty_compiler._compile_file
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty.class.php(1441): cachedtemplate._compile_source
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty.class.php(1279): cachedtemplate._compile_resource
/home/gacomru/public_html/blog/lifetype/class/template/cachedtemplate.class.php(48): smarty.fetch
/home/gacomru/public_html/blog/lifetype/class/view/smartyview.class.php(207): cachedtemplate.fetch
/home/gacomru/public_html/blog/lifetype/class/view/blogview.class.php(224): smartyview.render
/home/gacomru/public_html/blog/lifetype/class/view/defaultview.class.php(82): blogview.render
/home/gacomru/public_html/blog/lifetype/class/controller/controller.class.php(329): defaultview.render
/home/gacomru/public_html/blog/lifetype/index.php(42): blogcontroller.process

=============================

Fatal error: Call to a member function on a non-object in /home/gacomru/public_html/blog/lifetype/tmp/1/%%190^%%1909099440^panel.template.php on line 93

==============================
殘念 @@
已記錄
james
版主
超級會員
*****
文章: 823


哼!!你不說,誰會知道你做過那些修改呢!? (丟滑鼠~~)


檢視個人資料 個人網站
« 回覆文章 #3 於: 十月 16, 2006, 08:46:46 下午 »

Exception message: Smarty error: [in POS_FreeLogo_PiC/main.template line 8]: syntax error: unrecognized tag 'pager' (Smarty_Compiler.class.php, line 551)
Error code: 256
-- Backtrace --
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty.class.php(1108): trigger_error
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty.class.php(1870): smarty_compiler.trigger_error
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty_Compiler.class.php(2131): smarty_compiler._trigger_fatal_error
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty_Compiler.class.php(551): smarty_compiler._syntax_error
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty_Compiler.class.php(298): smarty_compiler._compile_tag
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty.class.php(1506): smarty_compiler._compile_file
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty.class.php(1441): cachedtemplate._compile_source
/home/gacomru/public_html/blog/lifetype/class/template/smarty/Smarty.class.php(1279): cachedtemplate._compile_resource
/home/gacomru/public_html/blog/lifetype/class/template/cachedtemplate.class.php(48): smarty.fetch
/home/gacomru/public_html/blog/lifetype/class/view/smartyview.class.php(207): cachedtemplate.fetch
/home/gacomru/public_html/blog/lifetype/class/view/blogview.class.php(224): smartyview.render
/home/gacomru/public_html/blog/lifetype/class/view/defaultview.class.php(82): blogview.render
/home/gacomru/public_html/blog/lifetype/class/controller/controller.class.php(329): defaultview.render
/home/gacomru/public_html/blog/lifetype/index.php(42): blogcontroller.process

=============================

Fatal error: Call to a member function on a non-object in /home/gacomru/public_html/blog/lifetype/tmp/1/%%190^%%1909099440^panel.template.php on line 93

==============================
殘念 @@
別殘念了,這個模版是給1.1用的。
因此,如果你的LT版本還不是1.1當然會出現這些錯誤囉。
升級到1.1就可以囉.

James.
已記錄

記得發問前,先使用搜尋功能找找看有沒相關的解答。
如果找不到,請依照如何在LifeType論壇發問來提問喔。
LiP
新手見習
*
文章: 43


MyZephyr


檢視個人資料 個人網站
« 回覆文章 #4 於: 十月 20, 2006, 12:29:35 下午 »

之前的版本自己忘了會發生這樣的狀況,所以修改了上傳圖檔的命名方式....

之前在這上傳的模板也重新上傳過了....

是的~
因為 LifeType 1.1 已經出來了,而且相當好用,所以現在做的模板都是 for 1.1 的....
自己原本在 0.3.2 發展的 FreeImg 在升級到 1.0.x 後始終無法成功,因此當時停了下來,一直等到 1.1 的出現才又繼續發展....
已記錄

:: ■PowerOS無限誌 :: ■激走無限 ::
FreeBSD - 6.1
Apache - 2.0.59
PHP - 4.4.4
MySQL - 4.0.27
頁: [1]
LifeType 中文開發論壇  |  開發  |  模版設計  |  模版發表  |  POS_FreeLogo_PiC « 上篇主題 下篇主題 »
    前往: