#29 cpy , vpy , cpt +are standarts and should be editable

open
nobody
None
5
2004-09-30
2004-09-30
hoka
No

hi,

in my opinion are .cpy , .vpy , .cpt also standarts in
newer zope/cmf/plone versions. so they should also be
browse and editable in boa.

To get it working in my boa i added in

Python Controllers.py
line 650
Controllers.headerStartChar['.cpy'] = '#'
Controllers.identifyHeader['.cpy'] =
PythonEditorModels.identifyHeader
Controllers.identifySource['.cpy'] =
PythonEditorModels.identifySource
Controllers.headerStartChar['.vpy'] = '#'
Controllers.identifyHeader['.vpy'] =
PythonEditorModels.identifyHeader
Controllers.identifySource['.vpy'] =
PythonEditorModels.identifySource

in ResourceSupport
at bottom
EditorHelper.imageSubTypeExtReg['.cpy'].append
(PyResourceBitmapModel)
EditorHelper.imageSubTypeExtReg['.vpy'].append
(PyResourceBitmapModel)

and in ProdPageTemplate.plug-in.py
line 32
EditorHelper.extMap['.vpt'] = ZopePageTemplateFSModel

Greetings Kai

Discussion