Orchard CMS 1.6 place.info订单无法正常运行 [英] Orchard CMS 1.6 placement.info Order not working

查看:63
本文介绍了Orchard CMS 1.6 place.info订单无法正常运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将网站迁移到1.6版-1.5版,并且主题中的placement.info文件遇到了问题

I've just migrated a site to 1.6 - form 1.5, and I'm experiencing issues with the placement.info file in my theme,

我的位置如下

<Match DisplayType="Detail">
    <Place Parts_Title="/BeforeMain:1.5"/>
</Match>

我也将"Bred crumb"菜单小部件放置在"Before main"中,放置设置为5

I aslo have a Bred crumb menu widget placed in Before main with a placement setting of 5

无论我对数字位置值做什么,标题总是出现在面包屑之前.

No matter what I do to the numeric placement values, the Title always appears before the bread crumbs.

我也遇到了主题place.info文件遇到的其他问题.有任何想法吗 ?

I'm also experiencing other issues with the theme placement.info file anybody else getting this. any ideas ?

这适用于1.5

更新-查看评论

更新2

<Match ContentType="AlternateIndexPage">
    <Place Parts_Introduction="/BeforeMain:4"/>
    <Place Parts_Title="/BeforeMain:3"/>
    <Place Fields_Input__AltenateIndexPage_VideoUrl="/BeforeMain:2"/>
<Math>

无论我在palcement.info文件中包含什么编号/顺序,视频始终总是首先出现标题,第二出现在简介中.如果我使用-",则该项消失了,因此我知道该展示位置文件正在工作-

No matter what numbers / order I include in the palcement.info file the Video always apear first the title second and the intro third. If I use '-' the item disappear so I know the placement file is working - a bit

推荐答案

不幸的是,小部件的位置和位置不是同一回事.我怀疑如果在1.5中起作用,那是一个巧合.请提交一个错误,以便可以在以后的版本中使用它.

Widget position and placement are not the same thing unfortunately. I'm suspecting that if this worked in 1.5 it was a coincidence. Please file a bug so that this can be made to work in a future version.

一种(不理想的)解决方法是将该区域分成两部分,然后将小部件发送给一个,而将标题发送给另一个.

A (not ideal) workaround would be to split that zone in two and send the widget to one, and the title to the other.

这篇关于Orchard CMS 1.6 place.info订单无法正常运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆