Commit 35aa6e76 authored by Michel Pelletier's avatar Michel Pelletier

Added files for partial searching support

parent 85811e7a
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
"""ZCatalog product""" """ZCatalog product"""
import ZCatalog, Catalog, CatalogAwareness import ZCatalog, Catalog, CatalogAwareness, Vocabulary
...@@ -97,7 +97,25 @@ def initialize(context): ...@@ -97,7 +97,25 @@ def initialize(context):
ZCatalog.manage_addZCatalog), ZCatalog.manage_addZCatalog),
icon='www/ZCatalog.gif', icon='www/ZCatalog.gif',
) )
context.registerClass(
Vocabulary.Vocabulary,
permission='Add Vocabularies',
constructors=(Vocabulary.manage_addVocabularyForm,
Vocabulary.manage_addVocabulary),
icon='www/ZCatalog.gif',
)
context.registerBaseClass(ZCatalog.ZCatalog) context.registerBaseClass(ZCatalog.ZCatalog)
context.registerBaseClass(CatalogAwareness.CatalogAware) context.registerBaseClass(CatalogAwareness.CatalogAware)
context.registerHelp() context.registerHelp()
methods={
## aparently this is bad, but I can't think of any other way!
'VocabularyIDs' : ZCatalog.VocabularyIDs,
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment