Module Description
Display Suite allows you to take full control over how your content is displayed using a drag and drop interface. Arrange your nodes, views, comments, user data etc. the way you want without having to work your way through dozens of template files. A predefined list of layouts is available for even more drag and drop fun!

By defining custom view modes, you can define how one piece of content should be displayed in different places such as teaser lists, search results, the full node, views etc.

Watch a screencast to see it all in action!

Advanced options


* Add your own custom fields in the backend or in your code
* Add custom layouts in your theme
* Change labels, add styles or override field settings (semantic fields).
* Full integration with Views
* Extend the power of your layouts by installing Field Group
* Different layouts per node with the Switch View Mode feature in the Extras module

Drupal 8, 9 and 10 support
* until 8.x-3.14: Drupal 8.8 and 9
* from 8.x-3.15: Drupal 9 and 10
* 5.0.x: Drupal 9.5 and 10: Use this for new installations since there's no upgrade path from 8.x-3.x. Note: do not use in production before beta releases!

Important changes in 5.0.x branch

* #theme of the entity is now set to 'layout' so hook_preprocess_layout can now be used. The DS variables are available in #ds_variables
* The content variables in the templates now follow the layout pattern: content.{region}
* hook_ds_pre_render_alter removed, use hook_entity_view_alter to alter the build, or hook_preprocess_layout to alter template variables
* Deprecated Region to block feature removed
* Deprecated View modes classes on layout option removed
* RDF support removed for now
* And various bug fixes, small features and code improvements

The 8.x-3.x branch will only receive critical bug fixes or security releases. The 8.x-4.x branch is obsolete, no further work will be done on that branch.

Some modules implement hook_preprocess_node, e.g. Gutenberg. In that case some libraries might be missing. This can be fixed by implementing custom code to call the libraries when a DS layout is used for a content type. An example can be found at #3170429: Gutenberg libraries missing

Information All info, links to compatible or API integration modules, articles, screencasts etc. can be found on the documentation pages.

The project has been sponsored in various ways in the past by Wunderkraut, Fedict and One Agency.

Project Usage
112470
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Display Suite aims to solve the problem of allowing users to have full control over how their content is displayed on a Drupal website through a drag and drop interface.
Data Name
ds

OPENAI CHATBOT

OPENAI CHATBOT

12:29:52
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.