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

Derek Richardson derek.richardson at gatech.edu
Thu Jul 17 17:49:20 UTC 2008


Right. That's the problem. main template uses 'here' and I'm not going 
to rewrite main template.

That's:

parts/plone/CMFPlone/skins/plone_templates/main_template.pt

to be specific.

Derek

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.
> 
> 
> Daniel





More information about the Product-Developers mailing list