flagflag  If you want to see English page, please click "English" Button at Left.
3: 2012-04-15 (日) 03:35:47 iseki ソース 4: 2012-04-21 (土) 11:57:57 iseki ソース
Line 46: Line 46:
- required_param('course',  PARAM_INT); - required_param('course',  PARAM_INT);
- optional_param('mode', default, PARAM_ALPHA); - optional_param('mode', default, PARAM_ALPHA);
 +#br
 +
 +*** PAGE, OUTPUT [#p5713263]
 +**** エラー: The theme has already been set up for this page ready for output. Therefore, you can no longer change the theme, or anything that might affect what the current theme is, for example, the course. [#ocfe165c]
 +- 通常は require_login() を実行してから ヘッダーを書く.
 +- ヘッダーを書いた後に require_login() を実行すると,上記のエラーが出る.
 +- 対策: require_login() を実行してから ヘッダーを書く.
 + $PAGE->set_title($title);
 + $PAGE->set_heading($heading);
 + $PAGE->set_cacheable($cache); // true
 + $PAGE->set_button($button); // ' '
 + $PAGE->set_headingmenu($menu);
 +
 + require_login($course->id);
 + echo $OUTPUT->header();
#br #br


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
<今日>

オンライン状況

110 人のユーザが現在オンラインです。 (23 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 110

もっと...

アクセスカウンタ

今日 : 6321632163216321
昨日 : 1615016150161501615016150
総計 : 2348561423485614234856142348561423485614234856142348561423485614
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com