【问题标题】:Hippo CMS 7 CND file not configuring node?Hippo CMS 7 CND 文件未配置节点?
【发布时间】:2012-01-12 18:27:57
【问题描述】:

我正在尝试为 cms 安装分类和分类选择器插件。

我的命名空间文件夹中有以下 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:relaxed 和 hippotaxonomy:生成时可分类。但是,当我构建项目时 并浏览到 localhost:8080/cms/console,然后查看 textdocument 节点 在 myhippoproject 下,这 3 个的 mixins 没有打勾。

即使在我手动完成后,我也会收到错误“节点不可分类” 勾选了可分类的mixin。

【问题讨论】:

    标签: content-management-system taxonomy hippocms


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-03-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多