My flickr

我的
我的
我的

views: 2999 times
首先,這個教學是完全參考官方設置的方式,所以如果有需要的話,可以去官方的部落格看看會比較完整,只是都是韓文就是了。網址在此:http://www.textcube.org/manual/category/스킨

以官方樣板 coolant 為範例來說明,他總共有兩個資料夾,五個檔案:
  • skin.html (必要)
  • style.css (必要)
  • index.xml (必要)
  • preview.gif (樣板預覽縮圖,非必要)
  • wysiwyg.css (樣板專用編輯器樣式,非必要)
  • /images (樣板用資料夾,可自行建立與更名)
  • /styles (樣板用資料夾,可自行建立與更名)
首先先來看 skin.html 這支樣板核心檔案,它的基本結構如下:
<div id="container">
<div id="header"></div> <!-- header close -->
<div id="content"></div> <!-- content close -->
<div id="sidebar"></div> <!-- sideinfo close -->
<div id="footer"></div> <!-- footer close -->
</div> <!-- container close -->
詳細結構如下:

more..


額外的兩種 skin.html 設定:
  • 聚合頁面 cover

    more..

  • 關鍵字 Keyword UI

    more..

看玩了 skin.html 之後,有頭暈腦脹的感覺吧。接著,不急著看 style.css,先來看看 index.xml 再做什麼。這個檔案是用來讓 TextCube 識別用的,也包含了樣板的作者資訊,樣板設定資訊等等。

詳細內容說明如下:

more..


最後是 style.css,依照你的 skin.html 的設定來做,這是廢話。這裡提一下沒辦法在 skin.html 裡面控制的部分,特別是自動升成的日曆、分類清單以及鏈結清單等等。

內容就不多提了,直接看看官方說明吧。
  • 分頁樣式

    more..

  • 文字標籤 (td 標籤)

    more..

  • 顯示數目

    more..

  • 日曆設定

    more..

  • 識別樣式 [##_rp_rep_class_##]

    more..

  • 識別樣式 [##_guest_rep_class_##]

    more..

  • More/Less 樣式設定

    more..

  • 其它樣式

    more..

  • 聚合頁面官方提供樣式

    more..

  • 關鍵字官方提供樣式

    more..

完畢,收工。
創用 CC 授權
Creative Commons License
本創作適用 姓名標示-非商業性-禁止改作3.0 創用 CC 授權,台灣並依循所適用的授權條款。
 相關文章 

Writer profile
author image
偏執與強迫症的患者,算不上是無可救藥,只是我已經遇上我的良醫了。

Posted by hina

2008/10/09 12:43 2008/10/09 12:43
, , Keyword TextCube, , , ,
Response
No Trackback , 8 Comments
RSS :
http://blog.hinablue.me/rss/response/640

Trackback URL : http://blog.hinablue.me/trackback/640

« Previous : 1 : ... 219 : 220 : 221 : 222 : 223 : 224 : 225 : 226 : 227 : ... 828 : Next »