alex bodnaru wrote:
> i wish to manually load a template layout, since it's not in the subtree
> of the running site. i do as follows:
>
> <?python from turbokid import kidsupport
> ...
Can you check against the trunk of TurboKid? I have just checked in a
small improvement that will probably solve your problem.
However, I don't recommend using TurboKid directly since it will
eventually go away and makes it harder for you to switch to Genshi.
What you can do is either use a file path to your template, e.g.
py:layout="../../tglib/identity/templates/login.kid"
or import it as a Python module this way:
py:layout="kid.import_template('tglib.identity.templates.login')"
-- Christoph
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---