> To override the standard template used in a controller (ie,
> @expose("my.template.name")), pass "tg_template" in the dictionary you
> return from your controller. So, if the template is stored in a
> database, then you can just pass the name in the tg_template part of
> the dictionary you return.
This is cool - and I can see it will works well, say, switching
between
layout preferences for a particular key page. However it seems less
useful for applying a selectable visual theme to the whole site.
In my current project I have used the kid 'extend' mechanism to focus
the site layout in a 'master.kid' but that would be harder to select,
say,
per user.
Not desperate for this yet but it would be handy.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---