1

I'm new to Drupal 7 and I have created a content revision view. For that I have added a column of author in which I have also specified the user author relationship in view.

Problem is i am creating the content type using mobile device using web services for this created content i have content revision view in D7 here for all the content created user name displaying as admin i,e if I check the user name column in content revision column, then it shows the same admin name for all content created through multiple users, as shown in this screen print:

enter image description here

  • Please EDIT your question to indicate which version of Drupal you're using ... – Pierre.Vriens Dec 3 '15 at 12:06
4

In advanced section add a relationship by author like this : enter image description here

Then add a field, choose User:name (the user or the author name) : enter image description here

make sure that you have the relationship "author" in the field setting : enter image description here

Now you should see the correct author name.

  • yes your right:) but thing is in my case i am creating the content using mobile device using web services so whenever i create the content via mobile device the user name is taking admin – yuvika Dec 4 '15 at 6:49
  • in this case you are always logged in as admin. So please modify your question and describe how you connect to your site. – Boussetta moez Dec 4 '15 at 8:10
  • i have edited the question do u know this why? – yuvika Dec 4 '15 at 8:41
  • no I don't know, but it's important to offer a clear question so maybe someone else know what you mean – Boussetta moez Dec 4 '15 at 8:46

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.