0

Im looking for a way to create a text template or a way to make one, where, when you create a node of a specific content type, a text is preloaded into the node. (Similar to Word-Templates)

At the moment, whenever I habe to write a status report, I have to copy paste it, but I want this to happen automatically.

Any help would be greatly appreciated.

Best Regards.

  • Couldn't you just set the default value for the body field to your text template? – Clive Jul 26 '13 at 15:13
3

Couple options come to mind,

if you don't want to code then you can use Node Clone module and have 1 unpublished template node, and everytime you want to create a new one just clone the template node.

Also without installing any modules, you can use the Default value in the field setting of the content type

The other way is a bit more tricky, you have to create a custom module and use hook_form_alter to set the default values of the fields for your specific content type.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.