开发者

Why does a basic Drupal view return no results

开发者 https://www.devze.com 2023-01-20 06:15 出处:网络
I am starting out with views and I wrote an extremely simple view which really just filters if the node is published and开发者_StackOverflow中文版 if it is of type banner. In preview and when I try to

I am starting out with views and I wrote an extremely simple view which really just filters if the node is published and开发者_StackOverflow中文版 if it is of type banner. In preview and when I try to print the view I get no results. When I search through my content and filter by type banner and published, I get 3 results (in /content/node/overview). I must be doing something basic and stupid, any suggestions for how I can figure out what I have done wrong?

I am starting out with views and I wrote an extremely simple view which really just filters if the node is published and if it is of type banner. In preview and when I try to print the view I get no results. When I search through my content and filter by type banner and published, I get 3 results (in /content/node/overview). I must be doing something basic and stupid, any suggestions for how I can figure out what I have done wrong?

View: http://www.randomcrapilike.com/test/view_capture.jpg


Have you tried creating a block view and then seeing if it outputs properly in the block region on the front end?


A few troubleshooting steps based on your screenshot...

  • Try including the node ID in the fields section to make sure the issue isn't with your CCK fields.
  • Try a different display type than 'slideshow' to make sure the issue isn't with that (non-standard) display type.
  • Try taking the preview query and running it directly against your database. Do you get any results or error messages?
0

精彩评论

暂无评论...
验证码 换一张
取 消