[support] Showing revision user in a view

Joel Willers joel.willers at sigler.com
Tue Mar 22 16:07:22 UTC 2011


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 at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Walt Daniels
Sent: Tuesday, March 22, 2011 11:02 AM
To: support at 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 at 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 at 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 at marksyms.me.uk> wrote:

> Message: 4
> Date: Tue, 22 Mar 2011 07:25:32 -0500
> From: "Joel Willers" <joel.willers at sigler.com>

> Subject: Re: [support] Showing revision user in a view

> To: <support at drupal.org>
> Message-ID:
>       <36B2D50F2A79114BBB96362C55C973FD0202F55C at 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/ ]

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110322/7b295947/attachment-0001.html 


More information about the support mailing list