[development] Created vs modified

Walt Daniels wdlists at optonline.net
Thu Jul 13 03:21:09 UTC 2006


I see a created field and a changed field in the node table, but I think
these are dates not authors. There is also a uid which I suspect is the
author, perhaps tied to the authmap table?? But no change author. 

So what I want may not be as simple as you imply. 

> -----Original Message-----
> From: development-bounces at drupal.org 
> [mailto:development-bounces at drupal.org] On Behalf Of Earl Miles
> Sent: Wednesday, July 12, 2006 10:44 PM
> To: development at drupal.org
> Subject: Re: [development] Created vs modified
> 
> Walt Daniels wrote:
> > When editing a node you are given the opportunity to change the 
> > Authored by and Authored on fields. In many cases I have multiple 
> > people changing pages and would rather show Changed by and 
> Changed on, 
> > but both should be present in the node. So there are really two 
> > changes necessary. One to add the new fields and default 
> them to the 
> > current logged on person and current date and the other to 
> somewhere 
> > in settings say whether the created or changed info should 
> be shown. Currently you can either show created or not.
> 
> You can easily show changed on info via theming.
> 
> You could quite easily create a module which adds a 
> 'changed_by' using hook_nodeapi.
> 
> These aren't things everybody wants, but I can see where many 
> sites could use them.



More information about the development mailing list