---
url: 'https://dxpr.com/zh-hans/hc/documentation/learn-dxpr-builder/integrations/drupal-views'
title: '在页面上显示 Drupal 视图 | DXPR'
author:
  name: Jurriaan
  url: 'https://dxpr.com/users/jurriaan'
date: '2026-10-24T08:18:21+00:00'
updated: '2026-10-24T09:09:48+00:00'
copyright: 'Copyright DXPR. All rights reserved.'
type: article
summary: '在布局中放入一个自动更新的列表：最新消息、近期活动或团队成员名录。添加一次即可；视图负责挑选条目，无需编辑页面也会出现新内容。单个固定的内容（如表单或菜单），请改用Drupal Blocks。'
tags:
  - 'Drupal-functies koppelen'
image: 'https://dxpr.com/themes/custom/dxpr_com/images/dxpr-share-card.jpg'
published: true
og:
  site_name: DXPR
  updated_time: '2026-10-24T09:09:48+0000'
  'image:alt': 'DXPR, powered by Drupal: AI-powered Drupal for marketers.'
schema:
  '@context': 'https://schema.org'
  '@graph':
    -
      mainEntity: {  }
    -
      '@type': TechArticle
      headline: '在页面上显示 Drupal 视图'
      description: '在布局中放入一个自动更新的列表：最新消息、近期活动或团队成员名录。添加一次即可；视图负责挑选条目，无需编辑页面也会出现新内容。单个固定的内容（如表单或菜单），请改用Drupal Blocks。'
      image:
        '@type': ImageObject
        url: 'https://dxpr.com/themes/custom/dxpr_com/images/dxpr-share-card.jpg'
        width: '1200'
        height: '630'
      datePublished: '2026-10-24T08:18:21+0000'
      dateModified: '2026-10-24T09:09:48+0000'
      author:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
        url: 'https://dxpr.com/'
        logo:
          '@type': ImageObject
          url: 'https://dxpr.com/themes/custom/dxpr_com/dxpr-logo-dark.svg'
          width: '1348'
          height: '501'
      publisher:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
        url: 'https://dxpr.com/'
        logo:
          '@type': ImageObject
          url: 'https://dxpr.com/themes/custom/dxpr_com/dxpr-logo-dark.svg'
          width: '1348'
          height: '501'
      mainEntityOfPage: 'https://dxpr.com/zh-hans/hc/documentation/learn-dxpr-builder/integrations/drupal-views'
      articleSection: 'Drupal-functies koppelen'
    -
      '@type': WebPage
      '@id': 'https://dxpr.com/zh-hans/hc/documentation/learn-dxpr-builder/integrations/drupal-views'
      description: '在布局中放入一个自动更新的列表：最新消息、近期活动或团队成员名录。添加一次即可；视图负责挑选条目，无需编辑页面也会出现新内容。单个固定的内容（如表单或菜单），请改用Drupal Blocks。'
      breadcrumb:
        '@type': BreadcrumbList
        itemListElement:
          -
            '@type': ListItem
            position: 1
            name: 首页
            item: 'https://dxpr.com/zh-hans'
      publisher:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
      inLanguage: zh-hans
---
[Help Center](/zh-hans/node/75)/[Documentation](/zh-hans/hc/documentation) /[Learn DXPR Builder](/hc/documentation/learn-dxpr-builder) /[Manage the site](/hc/documentation/learn-dxpr-builder/manage) /[Drupal-functies koppelen](/hc/documentation/learn-dxpr-builder/integrations) # 在页面上显示 Drupal 视图.

 Learn DXPR BuilderManage the siteDrupal-functies koppelen

   ## In this guide

 Related guides

- [Drupal Blocks](/hc/documentation/learn-dxpr-builder/integrations/drupal-blocks)

在布局中放入一个自动更新的列表：最新消息、近期活动或团队成员名录。添加一次即可；视图负责挑选条目，无需编辑页面也会出现新内容。单个固定的内容（如表单或菜单），请改用[Drupal Blocks](/hc/documentation/learn-dxpr-builder/integrations/drupal-blocks)。

## 开始之前

- 该 **Views** 模块已启用。
- 包含所需列表的视图位于 **Structure** &gt; **Views** (`/admin/structure/views`）。 区块显示通常是最佳选择，因为它没有自己的页面。

## 设置

1. 点击 **+** 列表应放的位置并打开 **Drupal Views** 元素选择器的选项卡。
2. 在以下位置选择标签 **Filter by tag**，或在以下位置输入视图名称 **Search**.
3. 点击视图显示。其设置对话框打开。
4. 要在本页显示不同数量的条目，设置 **Override pager** 为 **Yes** 并输入数量。
5. 点击 **Save** 在对话框中，然后 **Save** 在工具栏上。

## 您会看到的内容

列表以视图定义的过滤器、排序和样式显示。选择器中每条读作 "View name (Display title)"。选项卡列出每个启用视图的每个显示，包括页面显示。

要更改视图本身，打开元素的 **More** 菜单并选择 **Edit View**。显示在新浏览器选项卡的 Views 编辑器中打开。

## Settings

对话框仅显示适合所选视图的设置。

| 设置 | 它的作用 | 默认值 |
|---|---|---|
| **Show title** | 将视图标题显示为标题；仅当视图有标题时提供 | off |
| **Show exposed filters** | 在列表上方显示视图的筛选表单；仅当视图有公开的筛选器时提供 | off |
| **Override pager** | 让本页使用自己的条目数和偏移 | No |
| **Items to display** 或 **Items per page** | 显示多少条目；0 表示全部显示 | 视图自己的值 |
| **Pager offset** | 开头跳过多少条目 | 视图自己的值 |
| **Contextual filter** | 视图上下文筛选器的值，以“/”分隔，例如 40/12/10 | empty |
| **Field settings** | 在 **Toggle fields** 选项卡：取消勾选字段以在本页隐藏它们 | all fields shown |

要限制编辑人员可选择的视图，使用 **Views** 列表 [用户资料](/zh-hans/hc/documentation/learn-dxpr-builder/admin/user-profiles-admin)。

## 如果您看不到列表

- **新视图不在 Drupal Views 选项卡中。**该视图禁用，或用户资料不提供：新显示不会自动勾选。在以下位置启用视图 **Structure**

    > **Views**，然后在以下位置勾选 **Views** 在以下位置的资料中 `/admin/dxpr_studio/dxpr_builder/profile`.
- **编辑器显示 "Turn on Ajax on this view to use exposed filters"。** **Show exposed filters**已打开，但视图未使用 Ajax。编辑视图并设置 **Use AJAX** 为 Yes（在 **Advanced** 下）。
- **元素保持为空。** 视图未返回结果或访客可能看不到。检查视图的过滤器和访问设置，通过 **Edit View**.
- **公开的筛选器不对访客显示。****Show exposed filters** 对此元素关闭。打开其设置并勾选。

## 接下来做什么？

[放置可复用内容的 Drupal 区块](/hc/documentation/learn-dxpr-builder/integrations/drupal-blocks) 以继续探索 DXPR Builder。