Plone 5 首页错误BUG


1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
2    xmlns:tal="http://xml.zope.org/namespaces/tal"
3    xmlns:metal="http://xml.zope.org/namespaces/metal"
4    xmlns:i18n="http://xml.zope.org/namespaces/i18n"
5    lang="en"
6    metal:use-macro="context/main_template/macros/master"
7    i18n:domain="plone">
8<body>
9
10<metal:content-core fill-slot="content-core">
11 <metal:block define-macro="content-core"
12           tal:define="uuid context/@@uuid"> **--修改**
             tal:define="uuid context/@@uuid | nothing"> **--改正后**
13  <metal:listing use-macro="context/@@listing_view/macros/content-core">
14    <!-- we don't want the dl -->
15    <metal:entries fill-slot="entries">
16      <metal:block use-macro="context/@@listing_view/macros/entries">
17        <metal:entry fill-slot="entry" tal:condition="python: item.UID != uuid">
          <div tal:define="obj item/getObject;" tal:replace="structure obj/@@full_view_item | nothing" />
        </metal:entry>
      </metal:block>
    </metal:entries>
  </metal:listing>
</metal:block>
</metal:content-core>

</body>
</html>

原文:https://github.com/plone/plone.app.contenttypes/commit/8b835c18859f6ad5067db45f87a018bdc0fff5a9

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值