[development] Created vs modified

Earl Dunovant prometheus6 at gmail.com
Thu Jul 13 03:55:27 UTC 2006

He might want to use the vid from node_revisions in the new table instead on

On 7/12/06, Earl Miles <merlin at logrus.com> wrote:
> Walt Daniels wrote:
> > 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.
> It is as simple as:
> Creating a table with the fields you need (in this case, as I said,
> 'changed_by'), and a 'nid' to tie it to the node table.
> Implementing hook_nodeapi
> for 'insert' and 'update' events, writing the appropriate information
> (in this case, putting $user->uid into changed_by)
> for 'load' events loading the appropriate information.
> And do the rest via theming.
> It is as simple as I say (not imply).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20060713/771332be/attachment-0001.htm

More information about the development mailing list