[Product-Developers] Re: Page Templates, browser/ , and skins
daniel.nouri at gmail.com
Wed Jul 23 00:05:06 UTC 2008
Derek Richardson writes:
> Right. That's the problem. main template uses 'here' and I'm not going
> to rewrite main template.
> to be specific.
Hmm. Are you maybe importing your template from Zope 3 instead of Five?
> Daniel Nouri wrote:
>> 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.
More information about the Product-Developers