【问题标题】:hst:configurations not bootstrapped! Hippo CMShst:配置未引导!河马CMS
【发布时间】:2015-04-11 17:48:30
【问题描述】:

我有一个“联系”页面,我已经可以在我的 /bootstrap/configuration 文件夹下看到它。

我在 /bootstrap/configuration 文件夹下的 hippoecm-extension.xml 中添加了以下内容:

<!-- hst configuration nodes -->
  <sv:node sv:name="scc-hst-hosts">
    <sv:property sv:name="jcr:primaryType" sv:type="Name">
      <sv:value>hippo:initializeitem</sv:value>
    </sv:property>
    <sv:property sv:name="hippo:sequence" sv:type="Double">
      <sv:value>30052</sv:value>
    </sv:property>
    <sv:property sv:name="hippo:contentresource" sv:type="String">
      <sv:value>hst/hosts.xml</sv:value>
    </sv:property>
    <sv:property sv:name="hippo:contentroot" sv:type="String">
      <sv:value>/hst:hst</sv:value>
    </sv:property>
    <sv:property sv:name="hippo:reloadonstartup" sv:type="Boolean">
      <sv:value>true</sv:value>
    </sv:property>
    <sv:property sv:name="hippo:version" sv:type="String">
      <sv:value>2.01.15-SNAPSHOT</sv:value>
    </sv:property>
  </sv:node>

但是,当我重建并启动项目时,控制台中仍然没有“联系”页面!

我错过了什么?

【问题讨论】:

    标签: hippocms


    【解决方案1】:

    您是否引用了正确的文件?您似乎想加载一种新的页面类型,但您的 xml 引用了一个名为 hosts 的文件。

    【讨论】:

      猜你喜欢
      • 2010-11-18
      • 1970-01-01
      • 1970-01-01
      • 2015-11-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-03
      • 1970-01-01
      相关资源
      最近更新 更多