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

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

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

Quote:

今回のような1ファイル添付のみが良いです。
preload/HdXoopsTplHook.class.phpとresource.db.phpの2ファイルですけどね

Quote:
テンプレート配布に関してテストしておりますが、配布用のテーマ内テンプレートファイル保存時期が現在使用中のDBテンプレートより古いと反映されませんでした。

それが、本記事の(6)ですね。
確かに(5)と(6)まで解決してナンボという部分はあるので、処理速度と使い勝手を両立できる、何かうまい方法がないか考え中です。
(常に強制コンパイルってのだけは避けたい)
Votes:3 Average:3.33

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!