[Product-Developers] Re: Page Templates, browser/ , and skins

Daniel Nouri daniel.nouri at gmail.com
Thu Jul 17 17:33:21 UTC 2008


Use 'context' instead of 'here'.

Derek Richardson writes:

> I am attempting to get a pt I wrote in a z3 way to show in main
> template. When I put in the metal calls to embed it in main template,
> I get a KeyError on 'here'. I am currently assuming that this happens
> because of some magic associated with the skins directories of which I
> am not partaking. The only option I see is to put my pt in the skins
> directory. However, because this make the pt available on all
> contexts, while I want it on a restricted set of contexts (although
> not a single content type), I am loath to do this. Do I have another
> option than using the skins directories if I want the pt to show in
> the plone skin?
>
> Traceback and code below sig.


Daniel





More information about the Product-Developers mailing list