Dylan Jay wrote:
Dylan Jay wrote:
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

Looks like zope.traversing is a plone 3.1 thing. What was used before?

Opps. zope/traversing is in zope 2.10.5 but also an egg in my egg cache which is why it didn't work.

The answer to my question is that BaseRequest.traverse is what does the traversing, not zope.traverse. At least initially. And this is finding the skins first :(





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
[email protected]
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
[EMAIL PROTECTED]
(206) 286-1235 x32

Subscribe to ONEList, our email newsletter!
Practical advice for effective online engagement
http://www.onenw.org/full_signup




_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to