prepopulatedfields
Categories
Component ID
2616794
Component name
prepopulatedfields
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
The prepopulatedfields module allows you to curate content as a templated source of data for users.
Instructions:
- Install and enable the module.
- Create content of type prepopulated_data which is automatically created for you during installation. Note: If you already have a content type with that name, the module will append a random string at the end to ensure uniqueness.
- You can tag your prepopulated_data content for limiting templated content later. See step 4.
- Add a field to any content type you want, and choose prepopulatedfields as the field type, and prepopulatedfields Content will automatically be chosen as the widget.
- If you want to limit specific templates to the field - check the categories you want to associate with the field on the instance settings section. There won't be any checkboxes if you haven't tagged your prepopulated_data content.
- When you add a new node with the prepopulatedfields field, you will see a dropdown below the textarea to choose predefined templated content.
This module is great for ghostwriting content for content authors, allowing you to provide them with predefined chunks of content to add and edit before saving their new content.
This module is different from prepopulate in that prepopulatedfields allows you to define preset defaults for an individual field you can choose from in a dropdown below the input (textarea) - Prepopulate works with $_REQUEST variables on page load, where this one pulls data direct from a predefined content type nodes in the database.
