PEAK XOOPS - Re: Templates problem in 2.0.14/15 from xoops.org in englishin japanese

Re: Templates problem in 2.0.14/15 from xoops.org

Target News
Subject 本家版2.0.14/15のハマリ点
Summary 本家版2.0.14では、テンプレートの扱いが大きく変わった、ということだけは知っていたのですが、wrapsが動かない、という症状を改善するためにあちこち追ってみて、どこなのかがようやくわかりました。いわゆる肝は1箇所だけです。下のソースコードを読むのが一番手っ取...

List posts in the topic

none Re: Templates problem in 2.0.14/15 from xoops.org

msg# 1.1.1.1
depth:
3
Previous post - Next post | Parent - Children.1 | Posted on 2006/12/28 4:01
GIJOE  先任軍曹   Posts: 4110
Quote:

Bandit-x wrotes:
but they are not . since the template files are supposed to be in the . templates directory.
Are you a member of core team of xoops.org?

Thus, I have to say you misunderstood the original spec of template system.
XOOPS uses DB template instead of FILE template for modules or blocks.
(Just theme uses FILE template system)

This is the real 2.0.x spec.
Only 2.0.14/15/16 from xoops.org break the compatibility.
Of course, 2.0.16 from xoopscube.org follow the compatilibity

If you break the compatilibity, you should number them 2.1.x or 2.2.x etc.

And do you know template robber?

XOOPS_ROOT_PATH/modules/(dirname)/template

is almost PUBLIC and anyone can access the template.
(Though my modules are protected by .htaccess)
Base templates for DB templates should be out of DocumentRoot.

This is just one of the reason I use XOOPS_TRUST_PATH
Votes:3 Average:6.67

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!