1

I would like users on my site to write "feedback" of other users.

My thought is to have a content type called Feedback, and create a view of it, to preview at the foot of the user page. I can also put the main display of comments on its own views page.

Well, that's the display of them covered, but how do I enable them to be written? ie, link from the profile to create Feedback, and have it relate to that profile.

Also, Profile2 looks lacking, because you cannot control URL output.

2
  • So do you want to reference of other users on feedback ? Please describe your question in detail, though i have added answer based on my understanding of your question. – mohit_rocks Apr 30 '13 at 11:18
  • Have you tried drupal.org/project/reply – Nigel Waters May 1 '13 at 5:44
1

You can use the entity reference field. Entity Reference module provides the autocomplete field for the user reference.

Add an entity reference field on the feedback content type. This field is autocomplete field. So whenever you create a feedback you can select the name of the user for which you want to add the feedback and refer the same.

Still if you are unclear then provide me some more info so i can help you out..

Update: In your case you have to create a link on the user profile page and add the name of the user being viewed in the query string. So if you are viewing the profile of user1 then on the user profile you can generate the link $base_url/node/add/feedback?name = user1

Now when any one clicks on that page you will be redirected on the node creation page and you can get the argument value from the URL. You can set this argument value in the form field using hook_form_alter() hook.

Update 2: I found something like your question here

2
  • I don't want users to select the name of other users they wish to review. I was hoping to have a link on user profile pages, like "leave feedback about this user", which would lead to a page to create the review. I hope this makes sense. – Dorothy Parkour Apr 30 '13 at 13:11
  • Check the update of the answer :) – mohit_rocks Apr 30 '13 at 13:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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