[documentation] [task] Update node_example.module to use revisions
drewish
drupal-docs at drupal.org
Tue Feb 21 22:52:10 UTC 2006
Issue status update for
http://drupal.org/node/50626
Post a follow up:
http://drupal.org/project/comments/add/50626
Project: Documentation
Version: <none>
Component: Developer Guide
Category: tasks
Priority: normal
Assigned to: drewish
Reported by: drewish
Updated by: drewish
Status: patch (code needs work)
Attachment: http://drupal.org/files/issues/node_example.module_revisions.patch (3.54 KB)
I was looking information on the revision system when I came across a
comment [1] from someone confused by the changes. In there they asked
for node_example.module to be updated to demonstrate revisions.
Thinking that was a good idea I started on it.
In the process I realized that it was kind of kludgy that you had to
implement hook_nodeapi() to delete revisions. I'm working on a patch
for that so I'm putting this aside for the moment.
Attached is a patch that adds revision support EXCEPT for deleting a
single revision.
[1] http://drupal.org/node/30030#comment-94901
drewish
More information about the documentation
mailing list