[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Class structures & templates (was Re: [Phpgroupware-developers] File
From: |
Chris Weiss |
Subject: |
Re: Class structures & templates (was Re: [Phpgroupware-developers] Filename Standards?) |
Date: |
Mon, 04 Nov 2002 20:13:53 +0000 |
> I've been developing a custom template for phpgroupware and have found
>that for apps such as calander that use this system, adding/modifying
>templates can require extensive modification to the ui classes stored in
>the /inc directory of the application. Would it not make more sense to
>have these class files stored in the template directory of the app, or
>at least allow developers to have their own custom ui classes in their
>template directory of the application which, if a custom file exists, it
>would override its respective file in the inc directory? This would
>allow templates to be developed without requiring modifications to the
>initial code, allowing the same flexible template structure that existed
>with the old system.
What kind of modifications? Most templates just make changes to the surrounding
structure and lets the app define how it will look inside that. I also recal
the
used of php file in some of the apps's template dirs, though I don't no if they
will provide what you are looking for. IIRC, anglemail does this to handle the
it's different layouts within the templates.
- Re: Class structures & templates (was Re: [Phpgroupware-developers] Filename Standards?),
Chris Weiss <=