简体   繁体   English

视图,添加字段,有限的选项

[英]Views, add fields, limited options

I have recently developed an odd behaviour in my views. 我最近在我的观点中发现了一种奇怪的行为。 I am trying to generate a simple view that simply lists all entered data of that content type in a table. 我试图生成一个简单的视图,只是在表中列出该内容类型的所有输入数据。 I have stripped all bells and whistles from the view to get it working but it just won't. 我从视图中剥离了所有的钟声和口哨以使其工作,但它不会。

When I create a new view, I can add the relevant fields for the content type, filters etc. It all works as expected. 当我创建一个新视图时,我可以为内容类型,过滤器等添加相关字段。这一切都按预期工作。 If I then save and try to create another page view for the next content type, all my fields disappear (including the original fields used in the original view). 如果我然后保存并尝试为下一个内容类型创建另一个页面视图,则我的所有字段都将消失(包括原始视图中使用的原始字段)。 The only fields available are core fields like content:type, content:title, content:post date etc. 唯一可用的字段是核心字段,如内容:类型,内容:标题,内容:发布日期等。

I have checked permissions, display values in the content type, searched extensively online. 我已检查权限,在内容类型中显示值,在线广泛搜索。 Most people's issue is the relationship hasn't been established but my view doesn't rely on a relationship, it is a simple display view. 大多数人的问题是关系尚未建立,但我的观点不依赖于关系,这是一个简单的显示视图。

Any help or pointers would be truly appreciated. 任何帮助或指示都将得到真正的赞赏。 Thanks in advance Nelle 在此先感谢Nelle

Drupal 7.22 Views 7.x-3.7 Drupal 7.22意见7.x-3.7

This is a bug in Views. 这是视图中的错误。 See this bug report for a work-around (disable Views caching and UI Javascript). 请参阅此错误报告以了解解决方法(禁用视图缓存和UI Javascript)。

Did you tried to remove filters from new page? 您是否尝试从新页面中删除过滤器?

There is an important option when you use the same view to create many pages or blocks : 当您使用相同的视图创建许多页面或块时,有一个重要的选项

when you edit a field or filter, you should choose where to apply modifications (For All displays or this page (override) 编辑字段或过滤器时,应选择应用修改的位置(对于所有显示或此页面(覆盖)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM