- Palmwares and Miscellany -
開始行:
&tag(PukiWiki);
#contents
*インストールしているプラグイン [#p3b3a3e5]
:[[ajaxtree.inc.php>http://www.revulo.com/PukiWiki/Plugin...
:[[geshi.inc.php>http://www.revulo.com/PukiWiki/Plugin/Ge...
:[[counterlist.inc.php>http://www.revulo.com/PukiWiki/Plu...
:[[Sonots' PukiWiki プラグインコレクション v2.1>http://so...
:[[tirenavi.inc.php>PukiWiki/Plugin/tirenavi.inc.php]]|同...
*負荷軽減 [#t84ab90c]
:[[pagename_cache.php>http://www.revulo.com/PukiWiki/Cach...
:[[get_existpages を3行で軽くする>hhttp://lsx.sourceforg...
*スキン [#y5d1ab48]
:[[P_BLOG/PukiWikiとの連携]]|P_BLOGのスキンを継承して、P_...
:[[PukiWiki/Skin]]|以前使っていたスキンはこちら。
*本体の改造 [#ge5dbf27]
**LastModified のフォーマット変更 [#d73c1d30]
lib/html.php > catbody
#geshi(PHP){{
- $lastmodified = $is_read ? get_date('D, d M Y H:i:s T'...
- ' ' . get_pg_passage($_page, FALSE) : '';
+ $lastmodified = $is_read ? get_date('M d, Y H:i:s', ge...
}}
あるいは、日本語で表示したい場合は下記のように変更。
#geshi(PHP){{
$lastmodified = $is_read ? format_date(get_filetime($_p...
}}
**ページトップへのリンクを表示する見出しレベルを制限 [#bb...
lib/convert_html.php > class Body extends Element : getAn...
- return array($text . $anchor, $this->count > 1 ? "\n"...
+ return array($text . $anchor, ($this->count > 1 && $l...
$level < 見出しレベル
で、この見出しレベル以上ではページトップへのリンクを表示...
**リスト構造の左マージン設定解除 [#ta5a19d5]
スタイルはスタイルシートで統一するため、HTMLに直接記述し...
default.ini.php
#geshi(PHP,number,start=60){{
/////////////////////////////////////////////////
// リスト構造の左マージン
/*
$_ul_left_margin = 0; // リストと画面左端との間隔(px)
$_ul_margin = 16; // リストの階層間の間隔(px)
$_ol_left_margin = 0; // リストと画面左端との間隔(px)
$_ol_margin = 16; // リストの階層間の間隔(px)
$_dl_left_margin = 0; // リストと画面左端との間隔(px)
$_dl_margin = 16; // リストの階層間の間隔(px)
$_list_pad_str = ' class="list%d" style="padding-left:%dp...
*/
/////////////////////////////////////////////////
}}
*プラグイン変更 [#n281362f]
**[[geshi.inc.php>http://www.revulo.com/PukiWiki/Plugin/G...
PukiWiki Plus! で extend/plugin ディレクトリにインストー...
#geshi(PHP){{
// Directory path of GeSHi library
if (!defined('PLUGIN_GESHI_LIB_DIR')) {
- define('PLUGIN_GESHI_LIB_DIR', PLUGIN_DIR . 'geshi/');
+ define('PLUGIN_GESHI_LIB_DIR', dirname(__FILE__) . '...
}
// Directory path of configuration files
if (!defined('PLUGIN_GESHI_CONFIG_DIR')) {
- define('PLUGIN_GESHI_CONFIG_DIR', PLUGIN_DIR . 'gesh...
+ define('PLUGIN_GESHI_CONFIG_DIR', dirname(__FILE__) ...
}
}}
**ajaxtree.inc.php [#yc288907]
PukiWikiのディレクトリ構成をデフォルトから変更した場合に...
#geshi(PHP){{
// Directory path of cache files
if (!defined('PLUGIN_AJAXTREE_HTML_DIR')) {
- define('PLUGIN_AJAXTREE_HTML_DIR', 'html/ajaxtree/');
+ define('PLUGIN_AJAXTREE_HTML_DIR', DATA_HOME . 'html...
}
}}
終了行:
&tag(PukiWiki);
#contents
*インストールしているプラグイン [#p3b3a3e5]
:[[ajaxtree.inc.php>http://www.revulo.com/PukiWiki/Plugin...
:[[geshi.inc.php>http://www.revulo.com/PukiWiki/Plugin/Ge...
:[[counterlist.inc.php>http://www.revulo.com/PukiWiki/Plu...
:[[Sonots' PukiWiki プラグインコレクション v2.1>http://so...
:[[tirenavi.inc.php>PukiWiki/Plugin/tirenavi.inc.php]]|同...
*負荷軽減 [#t84ab90c]
:[[pagename_cache.php>http://www.revulo.com/PukiWiki/Cach...
:[[get_existpages を3行で軽くする>hhttp://lsx.sourceforg...
*スキン [#y5d1ab48]
:[[P_BLOG/PukiWikiとの連携]]|P_BLOGのスキンを継承して、P_...
:[[PukiWiki/Skin]]|以前使っていたスキンはこちら。
*本体の改造 [#ge5dbf27]
**LastModified のフォーマット変更 [#d73c1d30]
lib/html.php > catbody
#geshi(PHP){{
- $lastmodified = $is_read ? get_date('D, d M Y H:i:s T'...
- ' ' . get_pg_passage($_page, FALSE) : '';
+ $lastmodified = $is_read ? get_date('M d, Y H:i:s', ge...
}}
あるいは、日本語で表示したい場合は下記のように変更。
#geshi(PHP){{
$lastmodified = $is_read ? format_date(get_filetime($_p...
}}
**ページトップへのリンクを表示する見出しレベルを制限 [#bb...
lib/convert_html.php > class Body extends Element : getAn...
- return array($text . $anchor, $this->count > 1 ? "\n"...
+ return array($text . $anchor, ($this->count > 1 && $l...
$level < 見出しレベル
で、この見出しレベル以上ではページトップへのリンクを表示...
**リスト構造の左マージン設定解除 [#ta5a19d5]
スタイルはスタイルシートで統一するため、HTMLに直接記述し...
default.ini.php
#geshi(PHP,number,start=60){{
/////////////////////////////////////////////////
// リスト構造の左マージン
/*
$_ul_left_margin = 0; // リストと画面左端との間隔(px)
$_ul_margin = 16; // リストの階層間の間隔(px)
$_ol_left_margin = 0; // リストと画面左端との間隔(px)
$_ol_margin = 16; // リストの階層間の間隔(px)
$_dl_left_margin = 0; // リストと画面左端との間隔(px)
$_dl_margin = 16; // リストの階層間の間隔(px)
$_list_pad_str = ' class="list%d" style="padding-left:%dp...
*/
/////////////////////////////////////////////////
}}
*プラグイン変更 [#n281362f]
**[[geshi.inc.php>http://www.revulo.com/PukiWiki/Plugin/G...
PukiWiki Plus! で extend/plugin ディレクトリにインストー...
#geshi(PHP){{
// Directory path of GeSHi library
if (!defined('PLUGIN_GESHI_LIB_DIR')) {
- define('PLUGIN_GESHI_LIB_DIR', PLUGIN_DIR . 'geshi/');
+ define('PLUGIN_GESHI_LIB_DIR', dirname(__FILE__) . '...
}
// Directory path of configuration files
if (!defined('PLUGIN_GESHI_CONFIG_DIR')) {
- define('PLUGIN_GESHI_CONFIG_DIR', PLUGIN_DIR . 'gesh...
+ define('PLUGIN_GESHI_CONFIG_DIR', dirname(__FILE__) ...
}
}}
**ajaxtree.inc.php [#yc288907]
PukiWikiのディレクトリ構成をデフォルトから変更した場合に...
#geshi(PHP){{
// Directory path of cache files
if (!defined('PLUGIN_AJAXTREE_HTML_DIR')) {
- define('PLUGIN_AJAXTREE_HTML_DIR', 'html/ajaxtree/');
+ define('PLUGIN_AJAXTREE_HTML_DIR', DATA_HOME . 'html...
}
}}
ページ名:
コンテンツ
Home
Softwares
Wiki
Forum
Files
About
Feedback
PageTree
Top
(101)
Mac
(2)
P_BLOG
(5)
PalmTips
(5)
Palmware
(5)
Palmware開発メモ
(25)
PukiWiki
(23)
webOS
(2)
開発メモ
(25)
Wiki検索
AND
OR
最新の10件
2023-02-08
PukiWiki
2014-07-28
PukiWiki/FastCGI版PHP対応
2014-03-12
FrontPage
はじめての XREA+
Palmware開発メモ
2014-03-07
Palmware
2012-12-06
オンラインストレージ
2012-07-29
Vagrant
2012-07-25
Android/SH-03C/sdboot
2012-07-18
webOS/TouchPad
Tags
Android
Mac
P_BLOG
Palm
Palmware
Phone
Program
PukiWiki
TouchPad
Web
webOS
Recommend
高性能レンタルサーバー
ポイントお貯めるなら
Syndication
RSS 1.0
RSS 2.0
Extra
0 pageview