[dev] Common templates and company data

Jan Schneider jan at horde.org
Mon May 14 08:00:54 UTC 2007


Zitat von Duck <duck at obala.net>:

>> In this
>> case we obviously can't require people to upload their templates in a
>> configuration directory, but OTOH we still need shared templates for
>> all users of a company/domain.
>
> Minerva currently uses a templates form the configured directory. But if the
> template is not present in vhost dir it falls back to MINERVA_TEMPLATES dir.
> So we still have a default shared template. But don't allows a user to create
> a custom template or edit one.
>
> Oky maybe now is to early to talk about custom templates. For now a useful
> piece will be a shared header/footer for all modules. Maybe we can just move
> the default templates to special package which is not an application, but
> just a zip with default shared templates.

If you just need a single place for custom templates for now, why not  
putting them into horde/config/? We have single nls.php and hooks.php  
files that are being used from all applications too.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list