php - Drupal 8 - 更改节点显示设计

标签 php html css drupal drupal-8

知道如何从特定内容类型(例如文章)更改节点的显示设计吗?

我看到早期版本有一个模块,但它似乎不能在 drupal8 下工作: https://www.drupal.org/project/node_form_template

最佳答案

A small module which allows you to change the view mode of an entity.

This module provides a new field type "View mode selector", so just go to "Manage fields" and create a field of that type and choose between a "select list" and a "radio buttons" widget. When you choose "radio buttons" it is possible to upload an icon which will be displayed instead of the view mode name.

你绝对应该阅读这个-

https://drupal.stackexchange.com/a/193327

关于php - Drupal 8 - 更改节点显示设计,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45000362/

相关文章:

html - 当按下 'tab' 键时内容移动到左侧

css - css 中的兄弟选择器

php - 从索引中删除错误的索引链接

php - 优化相关子查询

html - 被导航内容取代的垂直导航栏按钮

javascript - 如何在 anchor 中的文本后面添加跨度?

php - 使用 bcrypt 时应在表中存储什么

javascript - 如何使innerHTML中的javascript在AJAX之后工作

html - 声明内联时 css 不工作

html - 无法点击 Logo ,CSS 问题