Home » HTML » HTML_Template_Flexy » Bug #1115
More than one template
Details
| Submitted | 2004-04-02 12:53 UTC |
|---|---|
| From | info at rhalff dot com |
| Assigned | alan_k |
| Status | Closed |
| Package | HTML_Template_Flexy |
| PHP Version | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-04-02 12:53 UTC] info at rhalff dot com
Description:
------------
This is more of a feature request then a bug.
For error handling I use a template called error.html,
I would like the modules in my system to be able to define their own error.html template and if that's not present use the default one.
I tried to accomplish this by using multiple template dirs, the first one is the module template dir and the second one the core template dir. I get the following error:
You have more than one template Named error.html in your paths, found in both
/usr/lib/php/RHALFF/App/Poems/Templates/error.html
/usr/lib/php/RHALFF/Core/Templates/error.html
Preferred behaviour for me would be to use the first template found. If the current situation is preferred behaviour for other developers, it would be nice if there was a configuration directive to make this possible.
Thanks in advance.
Rob Halff