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.
Now, on include a VideoEmbedField in views, this one is printed as video (thumb/player) and the video description.
in my case, for example, i don'w want the description.
is that possible to remove it? and maybe print description as additional field?
Comment | File | Size | Author |
---|---|---|---|
#7 | description-field-1312348-7.patch | 932 bytes | wbobeirne |
#1 | Screen Shot 2011-10-17 at 1.08.41 PM.png | 58.37 KB | jec006 |
Comments
Comment #1
jec006 CreditAttribution: jec006 commentedHi Kervi,
You can turn off the description in the field configuration - see the bottom of the screenshot
Comment #2
jec006 CreditAttribution: jec006 commentedSorry, I didn't read this all the way.
We probably need to add a new formatter that's like no description. Or separate it, or add some configuration for that. Right now if you want it, i would advise adding a separate field for description and turning it off on the field.
Comment #3
dgastudio CreditAttribution: dgastudio commentedgreat, thanks!
Comment #4
jec006 CreditAttribution: jec006 commentedThis is now possible in 7.x-2.x-dev
Comment #5
dgastudio CreditAttribution: dgastudio commentedjec006, that is possible? output 2 distinct fields, one for video and another for desc?
or remove description?
i can't see any option for this in views.
Comment #6
jec006 CreditAttribution: jec006 commentedHi Kervi,
Right now its a setting on the video embed field which can be turned off. I'm thinking that maybe we need to do some better views integration. I'm going to move this to 7.x-2.x and do it there. Hopefully thats alright.
For right now, a possible workaround would be actually adding a separate field for description and turning off the description field for video_embed. (this won't work well for multiple value fields though)
Comment #7
wbobeirne CreditAttribution: wbobeirne commentedFixed the show/hide description option (at admin/structure/types/manage/%content-type-name%/display) to actually work now, so what you can do is have views display teaser versions of your video posts, and mark the description to be hidden in the teaser display. Patch attached.
Comment #8
jec006 CreditAttribution: jec006 commentedAwesome - thank you http://drupal.org/commitlog/commit/25834/191c24c8dde76e374c27f22e615c366...
Comment #9
jec006 CreditAttribution: jec006 commentedComment #11
anniegreens CreditAttribution: anniegreens commentedAgreed that this works if you are using view modes to display your content type in a view, but if you're using fields, the checkbox to disable/enable description visibility is not available in the views configuration. See below for comparison.
Field config options:
Views config options for field: