2012-01-12 50 views
1

我想为cms安装分类和分类选择器插件。Hippo CMS 7 CND文件没有配置节点?

我有我的命名空间文件夹中的下列文件来电显示:

myhippoproject.cnd:

<'myhippoproject'='http://www.onehippo.org/myhippoproject/nt/1.0'> 
<'hippo'='http://www.onehippo.org/jcr/hippo/nt/2.0.2'> 
<'hippostd'='http://www.onehippo.org/jcr/hippostd/nt/2.0'> 
<'hippostdpubwf'='http://www.onehippo.org/jcr/hippostdpubwf/nt/1.0'> 
<'hippotaxonomy'='http://www.hippoecm.org/hippotaxonomy/nt/1.2'> 

[myhippoproject:basedocument] > hippo:document, hippostd:publishableSummary, 
hippostdpubwf:document orderable 

[myhippoproject:textdocument] > myhippoproject:basedocument, 
hippostd:relaxed, hippotaxonomy:classifiable 

[myhippoproject:newsdocument] > myhippoproject:basedocument, 
hippostd:relaxed 

据我了解,textdocument应该继承 myhippoproject:basedocument,hippostd:放松, hippotaxonomy :生成时可分类。但是,当我构建项目 并浏览到localhost:8080/cms/console,然后查看myhippoproject下的文本文档节点 时,那些3的mixin未打勾。

即使手动 勾选了可分类的mixin,我也会收到错误'node is not classifiable'。

回答

3

你可以在localhost:8080/cms/console的cnd导出中看看myhippoproject的命名空间。有没有为你的doc类型说'hippotaxonomy:classifiable'?如果不是,你很可能需要从一个干净的存储库开始(当然重建项目后)