Ruslan Spivak wrote:
> I need to make boa to recognize .cpt files as .pt files, how can i
> achieve this?
You asked a very similar question a while ago, the answer is almost the
One thing to take note of when you add a plug-in that depends on
another plug-in (as opposed to one depending on core functionality)
is the plug-in execution order.
You can change the order by right-clicking in:
and choose Move up or Move down.
I assume .pt is page templates (on the filesystem, not in Zope),
so your plug-in needs to be after the ProdPageTemplates plug-in.
Your plug-in file should look like this:
# ProdPageTemplates.plug-in should already have been executed
EditorHelper.extMap['.cpt'] = ZopePageTemplateFSModel