Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
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