Plone 5: Add a dexterity Templates only used in one folder

Hallo Everyone,

Im looking for a possibility to add my dexterity template to only one Folder, eg. I have a talk template
and I would like to have it just avaiable only under the Talks folder and no where else.
Is that possible and how ?

thanks for your help.

Alex

  1. Is this template for a list of talks or a for individual talks?
  2. If it is for individual talks, Is talk a content type or are just using pages or news items?

You could include in the template or its associated Python view some code that checks for the object's location in the site. Are you trying to limit who can set the view on that object? Or if you're linking to the object just append the view ID to the object URL, e.g. https://mysite.com/some/path/to/object/special-view