Make this Module Work for More than Just Nodes in the "Full" Display Mode

Created on 26 February 2020, over 4 years ago
Updated 19 May 2023, about 1 year ago

I think this module should in any view mode, and use the settings set inside that view mode.

It's not obvious that people need to turn on 'Full Content' in the 'CUSTOM DISPLAY SETTINGS' of the default view mode, and then go to the 'Full' view mode tab, and set up the image field display settings in the 'Full' view mode. And then those are the settings that are used across all view modes.

And in any view mode other than 'Full', this module either does not work at all, or it borrows the settings from the 'Full' view mode.

This is where it only looks at the ''full'' node view mode settings, and ignores other view modes.

  // Assume full view_mode.
  $view_mode = "full";

I spent hours trying to get this module to work with my custom view mode. And finally had to set up the 'Full' view mode, borrow the settings from there. And then hide the 'Full' view mode stuff with I didn't want on the front end with CSS.

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States BrianLewisDesign

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024