PEAK XOOPS - Re: Re: Re: resource.db.php をフックすることによるXoopsTpl動作改善 in englishin japanese

Re: Re: Re: resource.db.php をフックすることによるXoopsTpl動作改善

Target News
Subject Improving resource.db.php by hooking XoopsTpl on XCL2.1
Summary resource.(type).php is a smarty plugin controlling:- which template source is adopted- how new is the templateSince default template resource of XOOPS is "db:", resource.db.php is the most important file.Default resource.db.php of XCL2.1 has problems l...

List posts in the topic

none Re: Re: Re: resource.db.php をフックすることによるXoopsTpl動作改善

msg# 1.2.1.1.1
depth:
4
Previous post - Next post | Parent - Children.1 | Posted on 2008/1/17 5:22
GIJOE  Gunnery Sergeant   Posts: 4110
hi-debow さん、こんにちは。

Quote:

ローカルでX.C.Lを導入してテストをしましたが、theme内DBテンプレートファイルへ日本語を記入している場合は文字化けします。
おそらくは、ローカルの編集環境の問題だと思いますよ。
登録時には、エンコーディング変換は一切かかりません。
オリジナルテンプレートには日本語がないので、デフォルトのShift_JISとして開かれて、そのままセーブされちゃっている、という流れが一番ありそうです。

Quote:
また、当初の話なのですがroot内のd3forumを例えばQandAへ変えている場合と、同じd3モジュールを複数設置している場合はそれらを指定し処理を分ける事はできないものでしょうか?
それはまた別の仕掛けが必要ですね。

今回のはX2がもともと持っていた機能の改善に過ぎないのですが、同じtrustdirname同士の共通テンプレートのクラス化、となれば、それなりに大規模な工事が必要です。
Votes:1 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!