Traversable browser views without specifying the view name in the URL

I am using the approach from

http://bluedynamics.com/@@proxy/1963e0d18311d64758f1a2eeeb0d58d6/?searchterm=None

for making a browser view traversable...working so far.

However the name of the view methods seems to be necessary as part of the URL. In our case the related view is the default view of a content-types so I would expect that

/plone/my-type/a/b/c

would work in the same way as with the 'view' name inside the URL

/plone/my-type/view/a/b/c

  • however it does not work...any idea how to get rid of the view name?

-aj

You can probably register your view as an adapter of your content type class to IPublishTraverse (unless the content already provides IPublishTraverse).

David Glick
(mobile)

As said: the view is already configured exactly as within the given link (means it implement IPublishTraverse).

-aj

@zopyx Did you solve your requirements? When yes, how you handled it?

Plone Foundation Code of Conduct