Category:Ja:Tips
From MODx Wiki
Main > Tips
Contents |
[edit]
インストールの極意
[edit]
インストール
[edit]
設定
[edit]
文字化けしないようにする
[edit]
php.ini
[edit]
.htaccess
[edit]
エラーページを設定する
[edit]
サブドメインで運用する
[edit]
APIの極意
[edit]
DocumentParser
[edit]
グループ操作
[edit]
ユーザー操作
[edit]
ユーザー情報を追加する
[edit]
ユーザー情報を取得する
[edit]
ユーザー情報を更新する
[edit]
ユーザー情報を削除する
[edit]
ユーザー情報を拡張する
[edit]
ブラウザ情報を取得する
[edit]
ドキュメント操作
[edit]
ドキュメントの並び順を変更する
[edit]
公開開始日時を設定する
[edit]
公開終了日時を設定する
[edit]
表示回数を取得する
[edit]
作成者を取得する
[edit]
編集者を取得する
[edit]
公開者を取得する
[edit]
削除者を取得する
[edit]
ヘッダ操作
[edit]
リダイレクトを処理する
[edit]
DBAPI
[edit]
データベース操作
[edit]
テーブル操作
[edit]
テーブル一覧を取得する
[edit]
テーブルのキー一覧を取得する
[edit]
テーブルを作成する
[edit]
テーブルにキーを追加する
[edit]
テーブルを削除する
[edit]
テーブルの存在を確認する
[edit]
レコード操作
[edit]
レコードを追加する
[edit]
レコードを取得する
[edit]
レコードを更新する
[edit]
レコードを削除する
[edit]
パラメータクエリを作成する
[edit]
フィールド操作
[edit]
フィールド数を取得する
[edit]
データセット
[edit]
データセットをArray型で取得する
[edit]
データセットの特定フィールドをArray型で取得する
[edit]
データセットをHTMLテーブルに変換する
[edit]
機能実装の極意
[edit]
Manager
[edit]
Smartyを利用する
Managerの機能として、Smartyを使ったModuleなどを開発する際、
require_once('Smarty/Smarty.class.php');
を実行してエラーがでてしまう様な場合、
manager/index.phpの79行目以降を下記のように変更することで、Smartyへのパスが通る様になります。
変更前
// set some runtime options
$incPath = str_replace("\\","/",dirname(__FILE__)."/includes/"); // Mod by Raymond
if(version_compare(phpversion(), "4.3.0")>=0) {
set_include_path($incPath); // this now works, above code did not?
} else {
ini_set("include_path", $incPath); // include path the old way
}
変更後
// set some runtime options
$incPath = str_replace("\\","/",dirname(__FILE__)."/includes/"); // Mod by Raymond
if(version_compare(phpversion(), "4.3.0")>=0) {
set_include_path(get_include_path() . PATH_SEPARATOR . $incPath); // this now works, above code did not?
} else {
ini_set("include_path", ini_get("include_path") . PATH_SEPARATOR . $incPath); // include path the old way
}
[edit]
prototype.js
[edit]
prototype window
[edit]
関連資料
[edit]
MODxデータテーブル一覧
このカテゴリにはMODxのパフォーマンスとユーザビリティを向上させるためのTipsが含まれています。
Articles in category "Ja:Tips"
There are 0 articles in this category.
