I am using version 7.x-1.1 to convert some old nodes (type: project) to the new node type (new_project). The old content type only had a body field, a file upload and some taxonomy fields. I created a template for the conversion from "project" to "new_project" and assigned the fields to their new equivalents.

However, if I go to /node/123/convert and choose "new_project" as new bundle, on the next page all field options are set to discard (except for body field). What am I missing to have the other fields also select the template values?

I cleared Drupal and APC cache several times to no avail.

CommentFileSizeAuthor
#3 node_convert_with_template.zip1.13 KBjohaziel
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tea.time’s picture

I believe the template settings are only used if you go through the content listing (/admin/content). Select some nodes, and under Update Options choose "Convert template: [your template name]".

broon’s picture

Title: Single node conversion not triggering template » Use node_convert template also for single node conversion
Category: bug » feature

Thanks for your clarification. I created a view and added VBO to do it. Then, the template is used as well (and working fine btw.). However, I still think it would be nice to have the template also working on single node conversion. Marking it as a feature request.

johaziel’s picture

Hi
I made this small module to convert directly a node with a template

1. create your template for your content type
2. create a custom block, pane, or evrything else for your content type with a link like this :
/node/NODE_NID/convert-with-template/THE_TEMPLATE_ID

Make carreful if you want to edit your template because you have to make a new one so the ID will change

Jo

louisnagtegaal’s picture

Is there any progress on this? It seems rather odd to use a extra module for something that I feel should be default functionality.

DC_Marc’s picture

Issue summary: View changes

Tried the module. Think it actually works. Either way, I agree this should be in Node_Convert by default.

alex.87’s picture

Any solution on this yet?