Option to display view in node edit when "Always use default value" is selected

Created on 2 December 2021, over 3 years ago
Updated 7 February 2023, about 2 years ago

I will attempt to supply a patch for this feature request for consideration shortly...

Problem/Motivation

In instances where a default view has been specified and editors cannot change the entity reference for this field, it could be useful in some instances to not only display the referenced view on node view but also on node edit. This could be especially useful on decoupled drupal sites where editors need a way to see "related content" displayed in a view with viewfield on the backend.

Proposed resolution

Add a new checkbox to display the view on node edit but this new checkbox should only be visible if the "Always use default value" checkbox has been checked. If this new checkbox is checked display the view on node edit instead of hiding the field altogether. Use the display options specified for the default node view.

User interface changes

A new conditional checkbox will be added to the field configuration page.

✨ Feature request
Status

Active

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada JayDarnell Guelph, Ontario

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.

  • πŸ‡ΊπŸ‡ΈUnited States edmund.dunn Olympia, WA

    I rerolled the patch for the latest release.

  • πŸ‡¦πŸ‡ΉAustria maxilein

    I did not look at the patch just as yet. But it sounds as this would be only a little more effort:

    Since it is an administrative/development feature it would be great to also have a direct link to the view in order to quickly edit it.

    Up to now there are a lot of clicks necessary in order to edit the view of a viewfield.

    Thanks for the GREAT viewfield module!

  • Status changed to Needs review 4 months ago
  • πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru
Production build 0.71.5 2024