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

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: resource.db.php をフックすることによるXoopsTpl動作改善

msg# 1.2
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2008/1/12 12:02
hi-debow  Private 1st Class   Posts: 18
GIJOEさん、うまく説明できずにすみませんでした。
Quote:
D3モジュールのtemplates/ 下にあるファイルはあくまで雛形です。
たまたま中身が書き換わっていないだけで、XOOPSのDBテンプレートそのものとは本来別物です。

逆に、テーマ下テンプレートとして置けるのはDBテンプレートと同じレベルのテンプレートです。
ありがとうございます。
これは理解していました。

先日ダウンロードしたhd_nightlyの中に入っていたskel_flexテーマを参考に疑問点をコメントさせていただきました。

skel_flex/templates/pico/ 以下にはinc_breadcrumbs.htmlが入っています。
skel_flex/ 以下にはpico_inc_breadcrumbs.htmlが入っています。

inc_breadcrumbs.htmlでしたらtrust側に入っているテンプレートの雛形ファイル名と同じであり、
pico_inc_breadcrumbs.htmlでしたら、root側のモジュールファイル名をpicoとした場合のDBテンプレート名であると思いました。

従って、テーマファイル以下に入れるテンプレートファイル名はどちらを付けた物を入れるのか知りたかったのです。
Votes:1 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!