[drupal-devel] copying between nodes
vrao at misteam.net
Sun Oct 23 12:10:38 UTC 2005
Thanks. It wasnt difficult, however I noticed that
1) node_save($node) seems to reset the 'list' column to 0 in table files.
2) to copy files from one node to another , you have to use filecopy
----- Original Message -----
From: "Gabor Hojtsy" <gabor at hojtsy.hu>
To: <drupal-devel at drupal.org>
Sent: Sunday, October 23, 2005 7:52 AM
Subject: Re: [drupal-devel] copying between nodes
>> Sorry, if this was a support question. Dont get responses regarding code
>> on the other list
>> What is the best (easiest) way to copy a nodes comments to another node.
>> Also the files. Say I want nid 45 to have the same comments and
>> attachments (using upload.module) as nid 100
> Since this is a development list, I can only say that this is not yet
> possible directly in Drupal, but with some hacking, you can modify the
> source to be able to do this (look for the comments select queries).
More information about the drupal-devel