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.
I think it would be handy if this module provided a separate build mode for slideshows by implementing hook_content_build_modes. I think that is enough detail but let me know if it needs explanation.
Comments
Comment #1
redndahead CreditAttribution: redndahead commentedCan you explain more what it's for. or link me to more info about it? I can't find much information on what hook_content_build_modes does.
Comment #2
mstrelan CreditAttribution: mstrelan commentedWhen you edit a content type you can set display fields for teaser and full mode, as well as rss, search etc depending on modules enabled. When you build a view that uses the node row style rather than fields row style you get to choose which build mode to use.
If you had a slideshow build mode you could show a limited set of fields per content type while retaining the ability to display lots of fields, or all fields for teasers and full views.
Comment #3
redndahead CreditAttribution: redndahead commentedputting back to active
Comment #4
redndahead CreditAttribution: redndahead commentedPostponing it. Hopefully someone can provide a patch. I'm not quite motivated to do this.
Comment #5
redndahead CreditAttribution: redndahead commentedComment #6
vikfroberg CreditAttribution: vikfroberg commentedI did this way to create a custom view_mode, works like a charm.
Comment #7
NickDickinsonWildeAs @vicfroberg noted, you can easily add it to your site theme/module. Otherwise, see Entity View Mode a custom module which will do that via the UI. Don't think there is a high enough likelihood of use to make it worthwhile adding to Views Slideshow when those options will work.
Comment #8
mstrelan CreditAttribution: mstrelan commentedYep, this issue is over 6 years old and was really only relevant for Drupal 6.