Posted by vfama1 on February 27, 2009 at 12:50am
Jump to:
| Project: | Node Convert |
| Version: | 6.x-1.2 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I have content-types A and B. Content-type B uses many of the same fields as A, which will have the exact same values, but also has additional fields that are not found in A. Can I use your module as a means of pre-populating B's fields with A's values? Will content-type A remain after the conversion?
If this doesn't work, I'm thinking the way to go might be to clone A, then convert either A or its clone to content-type B.
Thanks, and if you can think of anything more efficient, I'd be greatly appreciative, as I am a newbie!
Victor
Comments
#1
I think cloning the node, and then converting it to the needed content-type will work. You will have to use the API provided by clone node module and the API in node_convert. So basically you'll have to write some sort of script or module that utilizes the both.
#2
#3
Placinta,
Great utility!! Thank you.
It's seems to have been a while with this ticket (I am not the original author), but I'll try and post a very useful scenario and update its status, hoping for your reconsideration.
In our site we have forums and we have support tickets. The user asks a question to the Forum under some category. It turns out the question deserves an administrative action and hence the admins "convert" the Forum post into a support ticket.
But the dialogue is lost from the Forum (containers, forum views, or in general the first places where a user checks for response). User is puzzled. Moreover, no history is kept. So we do this manually, in 3 stages as you say, with clone, convert, and go back to the original to post to reply "a ticket is created here".
It would be real nice to automate all this with a single check box on the "Convert" tab to say "Convert and keep the original, replying with a comment", where the reply would come from node convert templates, or a text box on the convert form, even better by using tokens such as "link-to-copy", etc..
How difficult you think is all this?
sly5
#4
Hi Sly5!
Do you have a piece of code so that I can get started with this? I want to clone the content from node A to B and also add in node B an extra field (and this makes node B a different node type).
Regards,
natoya
#5
subscribe.
could be 2 ways
1. clone + conversion
2. create new node conversion
#6
try this -> http://drupal.org/project/crossclone