Message: 4 Date: Tue, 22 Mar 2011 07:25:32 -0500 From: "Joel Willers" joel.willers@sigler.com Subject: Re: [support] Showing revision user in a view To: support@drupal.org Message-ID: 36B2D50F2A79114BBB96362C55C973FD0202F55C@mail.siglercompanies.com Content-Type: text/plain; charset="Windows-1252"
After answering, I realized that you were asking about revisions, not the author of the node. I didn't see an easy way to do that, sorry.
Thanks Joel, yes that's the problem, you can only show the original node creator and not the creator for the last revision. Might have to try and understand the code and see if I can create a patch for it.
Mark.
I've created a rule that sent an email using the Rules module with the last revision author to notify site admins. Maybe you can use something there. *
Ryan LeTulle*
bayousoft http://twitter.com/bayousoft -twitter
On Tue, Mar 22, 2011 at 9:17 AM, Mark Syms mark@marksyms.me.uk wrote:
Message: 4 Date: Tue, 22 Mar 2011 07:25:32 -0500 From: "Joel Willers" joel.willers@sigler.com Subject: Re: [support] Showing revision user in a view To: support@drupal.org Message-ID: <36B2D50F2A79114BBB96362C55C973FD0202F55C@mail.siglercompanies.com
Content-Type: text/plain; charset="Windows-1252"
After answering, I realized that you were asking about revisions, not the author of the node. I didn't see an easy way to do that, sorry.
Thanks Joel, yes that's the problem, you can only show the original node creator and not the creator for the last revision. Might have to try and understand the code and see if I can create a patch for it.
Mark.
[ Drupal support list | http://lists.drupal.org/ ]
Views relationships allow for joins. Create a view of "Node revision" type, then add a relationship for "Node revision: User." Add the "User: name" field which utilizes this relationship.
On Tue, Mar 22, 2011 at 8:20 AM, Ryan LeTulle bayousoft@gmail.com wrote:
I've created a rule that sent an email using the Rules module with the last revision author to notify site admins. Maybe you can use something there.
Ryan LeTulle*
bayousoft http://twitter.com/bayousoft -twitter
On Tue, Mar 22, 2011 at 9:17 AM, Mark Syms mark@marksyms.me.uk wrote:
Message: 4 Date: Tue, 22 Mar 2011 07:25:32 -0500 From: "Joel Willers" joel.willers@sigler.com Subject: Re: [support] Showing revision user in a view To: support@drupal.org Message-ID: <
36B2D50F2A79114BBB96362C55C973FD0202F55C@mail.siglercompanies.com>
Content-Type: text/plain; charset="Windows-1252"
After answering, I realized that you were asking about revisions, not the author of the node. I didn't see an easy way to do that, sorry.
Thanks Joel, yes that's the problem, you can only show the original node creator and not the creator for the last revision. Might have to try and understand the code and see if I can create a patch for it.
Mark.
[ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Sounds like what I need. We operate on the principal, you changed it, its yours.
On Tue, Mar 22, 2011 at 11:25 AM, Carl Wiedemann carl.wiedemann@gmail.comwrote:
Views relationships allow for joins. Create a view of "Node revision" type, then add a relationship for "Node revision: User." Add the "User: name" field which utilizes this relationship.
On Tue, Mar 22, 2011 at 8:20 AM, Ryan LeTulle bayousoft@gmail.com wrote:
I've created a rule that sent an email using the Rules module with the last revision author to notify site admins. Maybe you can use something there.
Ryan LeTulle*
bayousoft http://twitter.com/bayousoft -twitter
On Tue, Mar 22, 2011 at 9:17 AM, Mark Syms mark@marksyms.me.uk wrote:
Message: 4 Date: Tue, 22 Mar 2011 07:25:32 -0500 From: "Joel Willers" joel.willers@sigler.com Subject: Re: [support] Showing revision user in a view To: support@drupal.org Message-ID: <
36B2D50F2A79114BBB96362C55C973FD0202F55C@mail.siglercompanies.com>
Content-Type: text/plain; charset="Windows-1252"
After answering, I realized that you were asking about revisions, not the author of the node. I didn't see an easy way to do that, sorry.
Thanks Joel, yes that's the problem, you can only show the original node creator and not the creator for the last revision. Might have to try and understand the code and see if I can create a patch for it.
Mark.
[ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
This works on any view, not just Node revision types, and works beautifully. Add relationship Node revision: User, Add field User: Name (use relationship you just created). Nice job Carl! I love learning new Views info.
Joel
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Walt Daniels Sent: Tuesday, March 22, 2011 11:02 AM To: support@drupal.org Subject: Re: [support] Showing revision user in a view
Sounds like what I need. We operate on the principal, you changed it, its yours.
On Tue, Mar 22, 2011 at 11:25 AM, Carl Wiedemann carl.wiedemann@gmail.com wrote:
Views relationships allow for joins. Create a view of "Node revision" type, then add a relationship for "Node revision: User." Add the "User: name" field which utilizes this relationship.
On Tue, Mar 22, 2011 at 8:20 AM, Ryan LeTulle bayousoft@gmail.com wrote:
I've created a rule that sent an email using the Rules module with the last revision author to notify site admins. Maybe you can use something there.
Ryan LeTulle
bayousoft http://twitter.com/bayousoft -twitter
Error! Filename not specified.
On Tue, Mar 22, 2011 at 9:17 AM, Mark Syms mark@marksyms.me.uk wrote:
Message: 4 Date: Tue, 22 Mar 2011 07:25:32 -0500 From: "Joel Willers" joel.willers@sigler.com
Subject: Re: [support] Showing revision user in a view
To: support@drupal.org Message-ID: 36B2D50F2A79114BBB96362C55C973FD0202F55C@mail.siglercompanies.com Content-Type: text/plain; charset="Windows-1252"
After answering, I realized that you were asking about revisions, not the author of the node. I didn't see an easy way to do that, sorry.
Thanks Joel, yes that's the problem, you can only show the original node creator and not the creator for the last revision. Might have to try and understand the code and see if I can create a patch for it.
Mark. -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]