I'm working on bobtemplates.plone to add view subtemplates. View subtemplate is almost finished but I'm stuck in one problem to have a view specific to just one folder.
http://localhost:8080/Plone/news/my-view should not show anything
http://localhost:8080/Plone/my-folder/my-view it should show the view.
The view is pretty simple - a template and a python class.
with this configuration
<browser:page name="my-view" for="Products.CMFCore.interfaces.IFolderish" class=".my_view.MyView" template="my_view.pt" permission="zope2.View" />