[dev] Common templates and company data
Duck
duck at obala.net
Fri May 11 08:30:15 UTC 2007
On Monday 07 of May 2007 17:17:51 Jan Schneider wrote:
> I like the idea. But thinking further, I don't assume that people are
> going to update their company data that often. And I don't see how a
> comfortable template or CSS editing should work inside a browser.
Horde_Compay like Horde_Taxes/Currencies maybe will help to share company data
between modules and even allow us to reuse company data outside Horde.
The editor can be just a plain text area, to allow support people just to
update data on-line without having to ftp or take care where templates are
stored. For two our advanced customers we just installed Gollem to allow them
manage their own templates, but we would like to remove it we find another
solution.
> I guess the question is, whether it would happen in the future that
> people are going to use these modules for more than a single company
> or set of companies, i.e. in a shared hosting environment.
This can happen even in one company having different stations across a county
or a separated unit. Is still the same company but, has different contact
data and maybe for make finances transparent, even different bank accounts.
> 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.
Duck
More information about the dev
mailing list