On 1/14/06, Jeff Watkins <[EMAIL PROTECTED]> wrote:

On 14 Jan, 2006, at 1:22 pm, David Stanek wrote:

> If snippets.kid is in the same directory as master.kid you should
> just be able to 'import  snippets'.

Doesn't work. That's what got me started trying everything else.

Hmm ... there is a much larger Kid importing issue it seems. In order to import a .kid file kid.enable_import() has to be called. When I enabled this in kidsupport to work around the NoneType issue I found that the server would not start. I am gonna dig around a little more...

> You can also use the filename in py:extends instead. Something
> like  py:extends="' snippets.kid'".

I'm already extending sitetemplate, so I doubt I can also extend
snippets.

Sure you can extend several templates. See http://kid.lesscode.org/language.html#template-reuse-py-extends.
This works in my test: py:extends="'master.kid', 'snippets.kid'".

-- David

Reply via email to