Last updated June 3, 2016. Created on April 18, 2010.
Edited by puneetsharma, mparker17, wildflower_0002, eli-f. Log in to edit this page.

Content can be displayed differently depending on whether it's in a list with similar content, in search results, or being viewed in full. For example, content displayed in a list is typically trimmed so it doesn't take up too much space on the page and may only display the most important fields.

What is a view mode?

Drupal refers to the different ways a piece of content can be displayed as View modes (also called Display modes, or Build modes in Drupal 6). All entities, including user profiles, taxonomy terms, and blocks (D8 only) have at least one view mode, plus a Default view mode which is used when a view mode has not been explicitly set. You can use the Entity view modes module or the Display Suite module to create your own view modes.

Hiding, showing and ordering fields and their labels

For each view mode, Drupal allows you to:

  • show and hide fields,
  • change the order that fields are rendered in,
  • hide or show the field's label, and,
  • change how certain types of fields are displayed (for example, whether a field's content is trimmed).

Modules like Display Suite and Panels also let you set a custom layout for the fields in each view mode.

Changing how nodes are displayed

Drupal lets you set different display settings for each content type. To change how a content type is displayed:

  1. Navigate to the Content types page (Administer > Structure > Content types).
  2. In the table, locate the row that contains the content type you wish to change, and click the manage display link. This takes you to the Default view mode settings page.
  3. At the bottom of the page, in the Custom display settings section, check the checkboxes next to the view modes you want to customize and click Save.
  4. Once the page re-loads, you will see links under the tabs at the top of the page. There will be a link for each view mode you selected in the previous step. Clicking one of these links will take you to a screen where you can hide, show, reorder, and customize fields.

Out-of-the-box, Drupal defines five view modes for nodes:

Full content
The most detailed view of a node. You see this when you visit the node's URL.
A short summary of the node, intended to catch visitors' interest so they will view the Full content. Displayed on many of Drupal's default listing pages, such as the front page and taxonomy term listing pages.
How the node is displayed in RSS feeds. Visitors or webservices subscribed to the RSS feed will see content that looks like this.
Search index
The content that Drupal's internal search sees when it goes to index the page (search engines such as Google typically see the Full content view mode).
Typically, you only customize this view mode if you want to hide data from Drupal's internal search.
Search result
A short summary of the node when Drupal's internal search displays it as a search result (search engines such as Google generate their own search result view, typically from the Full content view mode).

Taxonomy terms

  1. Navigate to the Taxonomy page (Administer > Structure > Taxonomy).
  2. In the table, locate the row that contains the vocabulary you wish to change, and click the edit vocabulary link.
  3. Click the Manage display tab. This takes you to the Default view mode settings page. Since Drupal only defines one view mode for taxonomy terms, you may hide, show, reorder, and customize fields here.

Out-of-the-box, Drupal defines one view mode for taxonomy terms:

Taxonomy term page
The most detailed view of a taxonomy term. You see this when you click on a taxonomy term link from a node page, or you visit the URL of the taxonomy term directly.
You can only customize the upper portion of the taxonomy term page (the part that contains data about the term itself). Drupal displays a listing of all nodes tagged with the term (in their Teaser view mode) in the lower portion.


  1. Navigate to the Account settings page (Administer > Configuration > People > Account settings).
  2. Click the Manage display tab. This takes you to the Default view mode settings page. Since Drupal only defines one view mode for user accounts, you may hide, show, reorder, and customize fields here.

Out-of-the-box, Drupal defines one view mode for user accounts:

User account
The most detailed view of a user account. You see this when you log in, or when you visit the URL of the user directly.

Field label display options

Field labels can be displayed in the following ways:

The field label is displayed on it's own line above the field value(s).
The field label is displayed before the field value(s), on the same line.
Visually hidden (Drupal 8 only)
The field label is hidden for sighted users, but still visible to visitors using assistive technologies like screenreaders.
If you don't want a field label to show up on the page, this is almost always the best option because it provides context about the data in the field to blind or low-vision users which they may not be able to figure out if the label was Hidden.
If you're using Drupal 7 and you want to hide content in a similar way, please refer to the section of the Theming guide about Hiding content properly.
Completely removes the field label for all users.
Typically, you only choose this if you only have two fields which are supposed to appear as if they are a single field.

Manage Display Page Details

Manage Display page contains a table with 3 columns with following titles:

The field column contains all the visible and hidden field names.
The label column contains options to show label Above, Inline or Hidden respectively. These values are described above.
The format column contains the options to show the field value in different formats. Hidden is the global value which is present in all the format option list, if you choose hidden then it will hide the whole field from showing on the content page.

Looking for support? Visit the forums, or join #drupal-support in IRC.


GrahamO’s picture

How exactly do I set the teaser length to 'unlimited' in Drupal 7? In Drupal 6 I use the module 'Teaser by content type'. I understand this feature is now in Drupal core but I cannot find the setting in Drupal 7 beta. Is it there?

Antonio Araujo’s picture

In Drupal 7 just change the length limit from 600 to unlimited ( write the word unlimited). It will take effect in future posts. Any prior post would have to be edited and re saved in order for the new length to take effect.

specific’s picture

I entered 'unlimited' into the field and saved the settings but that didn't work. I tried 99999 and that didn't work either. What did work was changing the limit to 9999.

davidneedham’s picture

change format to "default" and it wont try to trim at all

mori’s picture

Is it possible to create additional display settings (view modes) - e.g. "teaser2"?

jshaikh’s picture

I also want the same functionality.
Did you get through this?

mariooo’s picture

You can add extra display modes using hook_entity_info_alter.

Say you have a custom module 'myModule' and want to add a custom view to the node entity:

function myModule_entity_info_alter(&$entity_info) {
    $entity_info['node']['view modes']['mymode'] = array('label' => 'My Custom Mode', 'custom settings' => 'TRUE');

Flush caches and this should show up as a customisable view mode on the 'manage display' page of any node content type.

Robin Millette’s picture

See also the entity view mode module.

davidneedham’s picture

bmateus’s picture

Is there any way to replace, change or edit the "." that a teaser places in the end?
I've been searching anywhere, but I'm just not good with php code...

Bruno Mateus

Antonio Araujo’s picture

My answer applies to Drupal 7: As far as a "." being the last character, it depends on how many characters you allow for an automatic Teaser. From the experiments I did, sometimes it ended on a "." and other times it didn't.

To change the number of characters allowed on an automatic teaser for an "article" go to Structure - Content types - Edit - Manage Display - Teaser - edit Trim Length to a different size other than the default 600.

If you are more specific perhaps someone can answer your specific question because I'm afraid my answer is not what you were looking for.

jimfuqua’s picture

Structure->Content types->(Basic Page) Manage Display->CUSTOM DISPLAY SETTINGS uncheck "Teaser"

GrahamO’s picture

Thanks for this.
I have just discovered that I need to have the module 'Field UI' enabled in order to see the 'Manage Display' options.

Now I would like to know how, with Teasers removed, I can stop both the 'trimmed' and 'full' versions being shown in Preview when editing. Any suggestions?

jackhutton’s picture

permissions.. some view.. or other..
enabled 'field ui' and I can see the tabs to manage the fields.. simple. but frustrating..
thanks for this post

''The secret though is just keep walking through life without analyzing it too much or clinging to it too much. Just walk on.'' - Marilyn Silverstone, Magnum Photographer & Buddhist Nun, b. March 9, 1929, October 1999.

Antonio Araujo’s picture

This works fine, thanks!
I should note that unless you are customizing a site for someone else that wants to remove the Teaser, I would not remove it because it allows for greater flexibility.

Usually and since I rarely use the Teaser on my own personal sites, I post a copy of the whole article in the teaser window so it displays everything.

The reason why I don't remove the Teaser option is because sometimes I want to customize my writing on the front page and write it differently on the "read more" page. I can also place a different photo on the front page and when the reader click on the text link, it shows a more detailed article or a more appropriate photo for the space the full article facilitates. The teaser allows for two different ways of writing the same article -- one for the front page and one for the 'Read more' page.

In other words, if I can keep the Teaser as an option, I always keep it.

( You can also replace the original length of 600 characters to unlimited (just write unlimited)and it will will always post the totality of your article unless you override it. It only takes effect on future posts, so you may have to edit past posts if you want to change their teaser length to the new unlimited limit.)

lonester’s picture

I've noticed an odd behaviour with Drupal 7 custom fields that I'd appreciate some help with.

I created a new content type, and added two custom fields, let's call them: field_logo (img type) and field_homepage (link type using the link module)

I have installed the CCK Blocks module, so these fields are available as blocks, as I'd like them to appear at the side of the main content. I set these fields to hidden for Default, Full Content and Teaser views, but when I use the blocks admin to create these fields as blocks, they also appear in the Full Content Field area, which means each one appears twice on the page,

Does anyone have any idea what might be causing this, and how I can get around it?

Thanks for any help.

momentuminc’s picture

Did you ever find out what was causing this? I'm having exactly the same problem.

momentuminc’s picture

In case anybody else happens upon this, it is actually an issue with CCK Blocks. See for details.

Antonio Araujo’s picture

Don't know if this is a solution for you but take a quick look at step 6 on the cck block instruction page. It might be related to your problem.


cyprien2’s picture

When Search index and search result displays settings are used ???

julianna’s picture

It looks like the Search Results settings are to flag whether a field is visible in the search results. For now, the only field I can get to actually show in the results is the Body. None of my added fields will show in the results.

I'm not sure what the Search Index settings are for. My thought is that the fields would show on the Advanced Search page, but this isn't happening for me.

Agogo’s picture

Aye, same issue here - search results cant be themed with the available display field types in D7. Same issue is reported here, but not solved atm:

tomogden’s picture

I am looking at two different D7 sites with diverse settings, one simple and one more complex. Both fail to display any custom settings for Search Results. Both successfully display custom settings for Teaser.

It seems there's a basic switch not turned on somewhere here.

Tom/* Ogden

upunkt’s picture

Select Search index. Save. Whatever field you drag then into the visible part will be indexed. This is useful since you sometimes have fields that should not be searchable, and sometimes fields are hidden in Full content although they still generate some content that should be included in searches.
Remember indexing is done by cron. If you want instant indexing, there's a module that I forgot the name of. Search for it and hope for it having been indexed on this site.
Search result is the view mode for displaying your chosen fields in the search results.

Suddn’s picture

How would you rearrange the node title such that it is displayed below a body or an image?

Antonio Araujo’s picture

Could you be more specific? Thanks!

marcelomaias’s picture

I miss this option too. He meant rearrange to something like:
1 - image
2 - title
3 - body

Instead of have title always on top. Cant find it also.

Rix’s picture

I've got a taxonomy term and added a custom field to it. The custom field is an image and called "field_insignia". What do I need to put in my theme template for it to show up?

I've tried:

<?php print render($user_profile['field_insignia']; ?>

But no luck...

Agogo’s picture

A great tip here is to use Display Suite for D7. Makes using the new UI for displaying fields even better.

rcharamella’s picture

The Custom Display Settings option for the Body field is Not Selectable in my Drupal 7 installation. Does anyone know how I can make it be selectable? Is there a way to Reset?

ohcray’s picture

I'm unable to select the Custom Display Settings on any of my content types. I see the option under Manage Display, but the option isn't clickable, like the function has been disabled. Has anyone else had this issue? Is there a setting somewhere that I'm missing?

chunty’s picture

Did you ever resolve this issue - I have the same problem.

chunty’s picture

I think jQuery update is the problem I reverted to using 1.3 instead of 1.7 and everything started working again.

Skydda’s picture

It seems that there is no theme specific display options? Just when you need 'em

sbarsky’s picture

I added a couple of fields to my content types that allow for multiple values. When I display the content using a view, I see the option for using a comma separator, but not when managing the display for the content page.

How do I do that?

asperi’s picture

I can add a field to a product, I can see and use that field when editing a product page, I can see the field while in the edit page and hitting "preview" - yet the new field never shows when I just view the page normally. What am I doing wrong?

berglund.mikael’s picture


I'm trying to solve the following issue, I have created a custom content type where users shall be able to upload one to many files. I want to display the files with a specific viewer within that content, which I have configured successfully. I also want the content to simultaneously display a table or multiple links to the uploaded files (which I have been able to very easily configure successfully). I have not manage to figure out how to add multiple displays for a single "Field", which could allow me to do this.

Does anyone have suggestions on how I could display these two things at the same time?

Thank you for your help!

chunty’s picture

Have a look at the custom formatters modules

berglund.mikael’s picture

Hi, was there a specific formatter that you recommended or can this be used to display a single uploaded file in multiple different displays at the same time?
If I want to display the content in this viewer and as a direct url to the file, I'm not sure how this could be solved with this..

chunty’s picture

No its it not a predefined formatter the point with this module is you effectively write your own formatter code which you can do with PHP or with tokens.

I don't know anything about the module you're so you'll have to work out how that is themeing your data but assuming for a moment it uses a theme function then you do something like:

  $data = $variables['#items'][0]['uri'];
  $output = theme('THEME FUNCTION CALL');
  $output .= "DOWNLOAD ME";
  return $output;

The other alternative is to create a theme file for the field. Have a look here:!field!theme!field.tpl.php/7

Actually now I think about it you could probably do this with a custom block too. If you have a look I'm using this principle on this

My block code looks like this (albeit a drupal 6 site)

if(arg(0) == 'node' && is_numeric(arg(1))){
 $node = node_load(arg(1));
 print l(theme('imagecache', 'book_thumbnail', $node->field_book_thumb[0]['filepath'], '', '', array('class' => 'image-left')). 'Read '.$node->title.' online now in a virtual book', $node->field_book_upload[0]['filepath'], array('html'=>true, 'attributes'=>array('class'=>'read-book clearfix'))); 
 print '
'.l('Read online now
as virtual book', file_force_create_url($node->field_book_upload[0]['filepath']), array('html'=>true,'attributes'=>array('class'=>'virtual-book'), 'query' => array('download' => '1'))).'
'; print '
as a PDF', file_force_create_url($node->field_book_upload[0]['filepath']), array('html'=>true,'attributes'=>array('class'=>'pdf-download issuu-link-hijacked'), 'query' => array('download' => '1'))).'
'; if (is_array($node->field_download_version) && !empty($node->field_download_version[0])) { foreach ($node->field_download_version as $file) { print theme('file_force_file', $file); } print '
'; } } if (!empty($node->field_buy_link[0]['url'])) { print '
'.l('Buy a copy
from our shop', $node->field_buy_link[0]['url'], array('html'=>true,'attributes'=>array('class'=>'buy-book'))).'
'; }

Essentially I'm using the same field a couple of times to generate a couple of different links

Hope that helps

tjtj’s picture

I have three fields in an event page: Date, body, Event type.
I want the date field tag to display, but have selected hidden in the manage display tab (D7) for the other two fields (in 4 places). But my display still shows
Body: (before the body text)
and the content of the concert type field.

How do I get rid of them?

Oops. I missed the Full Content tab. Cockpit error.

vrabollet’s picture

Once I have defined which fields are displayed for "Teaser", how can I see it on a landing page for instance?
When I add a content on a landing page, the default display is used : what is the way to override it with the teaser display?