简体   繁体   English

如何在Drupal的同一内容块上显示不同的内容?

[英]How do I display different content on the same content blocks in Drupal?

I am trying to build 10 pages that have the same structure (4 square content blocks on the right sidebar, and the general content on the left side). 我正在尝试构建10个具有相同结构的页面(右侧栏为4个方形内容块,左侧为一般内容)。 I am trying to build it so that the block structure remains the same on each page, but the content within the blocks is different. 我正在尝试构建它,以使块结构在每个页面上保持相同,但是块内的内容不同。 I tried doing this using the generic blocks provided by Drupal, but this is tedious and requires me to display the block only on each page individually, and then create a new one on the next page. 我尝试使用Drupal提供的通用块来执行此操作,但这很繁琐,并且要求我仅在每一页上单独显示该块,然后在下一页上创建一个新块。 Is there any easier way to do this? 有没有更简单的方法可以做到这一点?

您可以将视图与上下文过滤器一起使用观看视频

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

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