[Product-Developers] Re: debugging overriding skin templates with browser views

Dylan Jay gmane at dylanjay.com
Fri Jun 6 02:56:17 UTC 2008


David Glick wrote:
> Stick a pdb in the traversePathElement method in 
> zope.traversing/adapters.py
> David

Didn't it the break point :( Which is weird. I'll try and understand 
zope.traversing




> On Jun 4, 2008, at 7:15 PM, Dylan Jay wrote:
> 
>> Hi,
>>
>> Rightly or wrongly I'm replacing plones search.pt with a new 
>> browserview version for a site I'm doing.
>>
>> zcml looks like
>>
>> <browser:page
>> name="search"
>> template="search.pt"
>> for="*"
>> permission="zope.Public"
>> layer=".interfaces.IPubNSWLayer"
>> />
>>
>> It uses my view on subdirs but plones default search.pt on the siteroot.
>>
>> What's the best way to debug this kind of precedence problem?
>>
>> Dylan.
>>
>>
>>
>> _______________________________________________
>> Product-Developers mailing list
>> Product-Developers at lists.plone.org
>> http://lists.plone.org/mailman/listinfo/product-developers
> 
> David Glick
> Project Associate
> ONE/Northwest
> 
> New tools and strategies for engaging people in protecting the environment
> 
> http://www.onenw.org
> davidglick at onenw.org
> (206) 286-1235 x32
> 
> Subscribe to ONEList, our email newsletter!
> Practical advice for effective online engagement
> http://www.onenw.org/full_signup







More information about the Product-Developers mailing list