I think it would be great to upgrade viewfield implementing an option that lets the view field be shown also in the node edit form, not just as a block (that might be easily accomplished just with views), but as a view content between the form fields ...
I try to be more clear. If I don't force "Always use default value" the viewfield module will show its inputs in the form, otherwise will disappear at all.
Would be great if would be possible (with a further possible option) to keep it un-hidden in the form with the same output the viewfield shows in the node publishing page ...

I tried to get into the code, but my Drupal programing skills are far to be enough for this tasks ...

Best regards and Thank you anyway for this very nice module!

Comments

windmaomao’s picture

i would like to have the same feature. It'll be nice to have the same view on the edit screen, even though the view is not in any edit formatter.

shaisamuel’s picture

Issue summary: View changes

I found a way to do so:

  1. Download and enable Field Readonly Field module.
  2. Setup the view field with the view name.
  3. Make sure to select "Always use default value".
  4. Setup the default values including the args.
  5. Make sure your permissions are set right.
  6. Save the field.
  7. From the Manage field, choose the field widget to be "Read-only". If you need to edit the field make sure to first select it as "Select List", before you edit, or you lose the default values.

That's it, the magic is done!

fakir22’s picture

shaisamuel, this is pure genious ! Works like a charm :)

Careful thought : if you're using Field Permission module, you have to install Field Readonly module AND set the "View" permission on the field (via Field Permission) to "View anyone's value for field Contacts" or "View own value for field Contacts"

jerdavis’s picture

Category: Feature request » Support request
jerdavis’s picture

Status: Active » Closed (works as designed)