On Fri, Feb 16, 2001 at 05:57:24PM +0100, ingo schuster wrote:
> There are two bugs in TurbineTemplateService:
> 1. The default layout template is not extended by the default extension.
That should happen, but your patch assumes that template names given
without the default extension will be of the form 'default.' rather than
'default', whereas the equivalent code for screen/nav templates assumes
they will be given without the trailing '.'. I think if you give a name
with a trailing '.' you are saying "don't use an extension" so your
patch should be changed.
> 2. The default.layout.template in TR.p is not used at all - it is hardwired
> to "default."
>
> The patch below fixes it. I'm not sure about the line
> pkgs[arrayIndex] = pkg.append("Default").toString();
> It seems to hardwire the default layout module to "Default", however I'm
> not sure if it is used with templating at all?
No, it's not - you are right that's not needed.
--
Sean Legassick
[EMAIL PROTECTED]
Jag är en man, ingenting mänskligt är främmande för mig
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]