0

I have one user group created, several users in it excludes admin. I've tested it includes admin to that user group, but with no effect.

If you create an entry in channel as admin and check at front end for author of the entry, you'll see not admin, but actually the data of a first user created in Craft.

Is it done on purpose? If so, What is it, so I understand that.

1 Answer 1

2

You get the author's username of an entry via it's entry model like so:

{{ entry.author }}
1
  • I went through craft.users . Oh, learning whole life Commented Mar 20, 2015 at 12:02

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.