Forum
Display current users name in admin
Is there any way to show the current logged in user under Region Options > Item list column IDs on a list and detail setup? Only a requirement in the backend not to display on the page.
Is there any way to show the current logged in user under Region Options > Item list column IDs on a list and detail setup? Only a requirement in the backend not to display on the page.
There isn't. What are you trying to achieve here?
The site has a news list and detail setup. The client has 3 contributors and wants to see who added which article.
Ok, so you don't want to show the current user, but the author of the item, is that right?
Andy,
I don't know if this will be helpful or not - I wanted something similar a while back and wrote a custom fieldtype. I can't remember if/where I have a copy of the code, but I remember it being actually quite straightforward...!
Hi Drew,
Are they not in effect one and the same in this instance? Author would be fine.
Thanks Duncan, I will look in to this method.
Hi Drew,
Sorry, yes, it is the author that I need to show.
Is the author a related field?
No, it doesn't exist. I was hoping to use data from the database e.g.
itemUpdatedBy
. A user logs in and creates an item and that user is then displayed against that item in admin.That's not possible without writing a field type like Duncan suggests.