「スキンの編集 'grey': 個別アイテムページ」の
<h2>コメントの追加</h2>
の下辺りにでも。
<h2>リンクソース</h2> ■記事用リンクソース:<br /> <a href="<%sitevar(url)%>?itemid=<%itemid%>" title="<%blogsetting(name)%> - <%itemtitle%>"><%itemtitle%></a><br /> ■Wiki用リンクソース:<br /> [[<%itemtitle%>><%sitevar(url)%>?itemid=<%itemid%>]]
index.php 内で
$CONF['Self'] = '';
とし、URL表示でindex.phpを表示させていないとき、コメントでエラーがでます。
/?itemid=xxxとなるはずが、/action.php?itemid=xxxとなってしまいます。
そこで、action.phpの75行目を編集します。
Header('Location: ' . postVar('url'));
となっている部分を
$url = $CONF['IndexURL'] . createItemLink($post['itemid']); Header('Location: ' . $url);
とします。
nucleus\forms\searchform.template の<br>を削除
nucleus\forms\nucleusbutton.template のリンクを http://japan.nucleuscms.org/ に変更
nucleus\libs\globalfunctions.php
$MYSQL_CONN = @mysql_connect(…
の後ろに
mysql_query("SET NAMES utf8", $MYSQL_CONN);
を挿入
$CONF = array(); include('./config.php'); // common functions
$data = explode(“/”,serverVar('PATH_INFO')); $id = intval($data[1]);
$pluginName = 'TrackBack'; // only continue when the plugin is really installed if (!$manager→pluginInstalled('NP_' . $pluginName))
exit;
$plugin =& $manager→getPlugin('NP_' . $pluginName); if (!$plugin) exit;
if ($id) $_REQUEST['tb_id'] = $id;
$plugin→handlePing(); ?></code>
</FilesMatch></code>
}</code>
skin/grey/grey.cssに
.error {color:red;background:yellow;}
background: #ffffff url(quickb-hover.jpg) top left fixed repeat-y;
/* color: #000; modify / color: #333; letter-spacing: 1px; white-space: nowrap; / add */ }</code>のletter-spacing: 1px;をコメントアウト。