Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

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.

share|improve this answer
    
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 Nov 14 '12 at 17:44
    
Nevermind I just found the option :-) –  Mat Nov 14 '12 at 18:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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