Closed (fixed)
Project:
Node clone
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2008 at 19:52 UTC
Updated:
9 May 2014 at 01:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pwolanin commentedlooks interesting, but it doesn't look like that code would work:
should maybe be:
Comment #2
jody lynnComment #3
jody lynnYes, you're right. New patch. (I mixed up the patch because on my version I also was changing the permissions around so that users can only clone their own posts, which perhaps should be a separate feature request.)
Comment #4
Lexandro@yandex.ru commentedAnd what about D-6? It doesn't work on it.
Comment #5
markus_petrux commentedThis prolly needs a bit of work for D6 since Views have changed a little.
subscribing... and if I get a minute I'll try it.
Comment #6
markus_petrux commentedWell, here's a patch for D6. It's been build against HEAD checked out today.
The patch adds directory
viewswith 2 files, and modifiesclone.module. It's based on the same method used by views node implementation to add the edit link. Tested with latest Drupal 6.5 and Views 2.0-rc5.Code appended to
clone.module:This is file
clone.views.inc:This is file
views_handler_field_node_link_clone.inc:Comment #7
markus_petrux commentedThe patch.
Comment #8
pwolanin commentedthat patch is no good, but happily the text pasted above seems usable.
Here's a proper patch. I am committing this to HEAD to get feedback - I gave it a quick test and could get the link to show/work.
Please re-open or open a new issue if this is broken...
Comment #9
pwolanin commentedif you don't want to checkout from CVS, you should be able to downlaod a tarball from here before too long: http://drupal.org/node/96560
Comment #10
markus_petrux commentedThank you, pwolanin. Just installed the new tar ball, and it's working for me. :)
Would you mind tell me what was wrong with my patch, so I can take into account next time, please?
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.