Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By laden_maiden on
hi everyone!
i created a custom content type to feed a view who is rendering as slideshow ( with flexslider).
my content type has title, body and image_slider and i want just to show the image_slider only for the view slider not when i display the node.
i want to hide the field image_slider when i display the node.
how can i do that?
thanks in advance!
Comments
content type "manage display"
In the content type UI, go to the "manage display" tab.
There are built-in "teaser" and "full" display types for nodes, but you can create custom field display configuration as well. Node fields can be shown or hidden as desired for each individual display type.
Then, when you create Views for your nodes, you can specify if you want to display a node "teaser", display a "full content" node. You could also create a View with individual fields format, and define the display of each individual field as desired.
Your theme can even be aware of display modes and you can use "display overwrite" and so on in Views, with help from your theme, to further customize node display within a View. Views are powerful. Views are your friend.
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
thank you very much! that is
thank you very much! that is what i was looking for!
thanks!