1

In Drupal, I would like to display some user related nodes on their "My Account" page. I would like to do so by creating a View that i would add as a field on the user entity (through admin/config/people/accounts/display). I could use Computed Field in order to load and render the view but that is not very convenient as it requires me to write PHP code.

In short, is there a module that allows to add dummy fields containing a view in the "manage display" sections of entities?

Thanks for your help.

1 Answer 1

1

There is exactly such a module ViewField.

Viewfield provides a field that holds a reference to a View and renders it whenever the entity containing the field is displayed.

Features Author chooses a view and display from a list. View arguments are supplied through tokens. Administrators may restrict which views may be assigned. Administrators may supply a common value that will be used for all entities in a content type.

2
  • I tried this module and it adds a field during the entity creation/edition. Is there a way to avoid that (always use default view&arguments) ? Thx btw :-)
    – Mat
    Commented Nov 14, 2012 at 17:44
  • Nevermind I just found the option :-)
    – Mat
    Commented Nov 14, 2012 at 18:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.