I’d like to display “Last Edited by”. I can’t find the tag that can pull the last revision author.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
May 11, 2012 4:23am
Subscribe [3]#1 / May 11, 2012 4:23am
I’d like to display “Last Edited by”. I can’t find the tag that can pull the last revision author.
#2 / May 11, 2012 8:07am
That’s because it doesn’t exist..😉
Each entry gets an author assigned, but that doesn’t change if a different person edits.
I’d suggest a feature request, or looking into a more advanced workflow tool like BetterWorkflow to see if it offers a solution.
#3 / May 14, 2012 4:00am
That’s because it doesn’t exist..😉
Each entry gets an author assigned, but that doesn’t change if a different person edits.
I’d suggest a feature request, or looking into a more advanced workflow tool like BetterWorkflow to see if it offers a solution.
Most of my data is being edited/ inserted through SAFECRACKER so BetterWorkflow is not able to fulfill my requirement. I guess I will open a feature request :( but the chances of getting it into the dev’s to-do list is slim.
#4 / May 14, 2012 6:15am
I found a workaround using the Query Module, not sure about the performance impact tho. Here for your reference:
{exp:query sql="SELECT exp_entry_versioning.entry_id, exp_entry_versioning.author_id, exp_entry_versioning.version_date, exp_members.screen_name AS last_edit_by
FROM exp_entry_versioning INNER JOIN exp_members
ON exp_entry_versioning.author_id = exp_members.member_id
WHERE exp_entry_versioning.entry_id = {entry_id}
ORDER BY exp_entry_versioning.version_date DESC LIMIT 1"}
{last_edit_by}
{/exp:query}#5 / May 14, 2012 10:26am
Hey Jabbler,
I am glad to see that Mike was able to offer a suggestion here and I am glad to see that you found a solution that works for you. Nice.
If you need anything else, please just let us know by opening a new thread.
Cheers,