Nucleus

複数人数で管理できるブログ。
PHP4+MySQLで動作する。(SQLLite版もあるみたい)
以下はインストールとか設定とかのメモ。

本体のインストール

スキンを入れてみる

NP_Calendarを入れてみる。

  1. http://japan.nucleuscms.org/wiki/plugins:calendar
  2. http://blog.bitocean.net/item/19
  3. css追加
    tr.calendardateheaders th{
    	padding-top: 5px;
    }
    table.calendar caption{
    	padding: 5px 0px;
    	border-top: 2px solid #999;
    	border-bottom: 1px dashed #999;
    }
    td.days {
    	text-align: center;
    }
    td.today {
    	text-align: center;
    	background-color: #ccf;
    }
  4. スキンの編集
  • 月別アーカイブページ
  • 月別アーカイブ一覧ページ
  • メインの目次ページ
  • 個別アイテムページ
    <%Calendar%>

NP_Amazonを入れてみる。

  1. http://nekhet.ddo.jp/blog/1/catid/5
  2. 記事にはこんなふうに書く。
    <%Amazon(ASIN|画像サイズ|関連商品数|テンプレート名)%>

NP_znSmileyを入れてみる。

  1. http://wa.otesei.com/NP_znSmiley
  2. css追加
    .znsm_re {
    	color: #090;
    }
    .znsm_img {
    	vertical-align: middle;
    }

RSSについて

  • 配信が全文になってたので、いじる。
    http://tantris.s18.xrea.com/nucleus/item-125.html
    <description><%syndicate_description(200)%></description>
  • clipsスキンのheaderにlinkが消えていたので、追加する。
    doctype.inc
    <link rel="alternate" type="application/rss+xml" title="RSS" href="xml-rss2.php" />
    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="rsd.php" />

ドラフト保存

euc-jp版だと文字化けするみたいです。(T T)
http://japan.nucleuscms.org/bb/viewtopic.php?t=3209

アーカイブ

このスキン、カレンダーや年月をクリックしたときに、
記事のタイトル一覧が出るので、記事の内容が出るように修正する。
月間アーカイブページの↓を削除

<ul class="bullets">
<%archive(clips/list)%>
</ul>

↓を追加

<%archive(clips/index)%>

NP_CommentTree?

  1. http://japan.nucleuscms.org/wiki/plugins:commenttree
  2. プラグインオプションを編集する。
    このプラグインのリスト開始<ul class="bullets">
    コメントリストの本体<li class="comment2">・・・
  3. スキン→メインの目次ページを編集する。
    <%parsedinclude(links.inc)%>
    を削除。
    <h3>最新コメント</h3>
    <%CommentTree(5,4,all,current)%>
    を追加。
  4. CSSを追加する。
    ul.bullets li.comment2{
    	padding-left: 0px;
    	margin-left: 15px;
    	text-indent: 0;
    	list-style: disc none outside;
    }
    ul.bullets li.comment2 a{
    	font-size: 80%;
    	padding: 0;
    	margin: 0;
    	text-indent: 0;
    	background: none;
    }
    ul.bullets li.comment2 a:hover{
    	background: none;
    } 

その他気になるプラグイン

WYSIWYGはいらないよなぁ。


Tag: PHP CMS


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2009-06-01 (月) 15:21:00 (1086d)
.NET Ajax AmazonWebServices Android C# C++ CMS Cacoo DB Exam Generics Java JavaScript Local Oracle PHP Perl Photo Programming Pukiwiki Python Qt Review Ruby SQLServer Seasar Software Tips Tool VB WebService Windows WindowsMobile XHTML XML XMLMaster XSLT game pdf wkhtmltopdf