Content Tailoring
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
Overview
Tailoring involves creating unique messages and message combinations that address individual variables, as opposed to group characteristics. Frequently used in interactive health communication, tailoring involves message variation composition, measurement, and message delivery based upon measured variables (typically collected via administration of a validated diagnostic measure).
This module enables Drupal content administrators to create tailored pages that react to values stored in individual user profiles. Tailoring offers a new node type, Tailored Page. Within a single Tailored Page, a content administrator can define messages dictoate how those messages should be displayed to users, based on profile field values.
The Tailoring module does not dictate in any way *how* the profile variables are collected or stored. One might integrate with a survey tool, utilize a Webform hook, any any of a number of other possible methods.
Dependencies
Configuration
Step One: Define a Tailoring Variable
Navigate to /structure/tailoring_variable/manage and create a new variable. For each variable, define a set of thresholds or ranges.
Example
Tailor on depression using the Zung Self-Rating Depression Scale.
- Define a Tailoring Variable called "Depression" and click "Continue".
- Enter the range of 0-49 in the Value field, and enter "Not Depressed" in the Name field for the first Threshold, and click "Add More".
- Enter the range of 50-69 in the Value field, and enter "Depressed" in the Name field for the second Threshold, and click "Add More".
- Enter the range of 70-80 in the Value field, and enter "Very Depressed" in the Name field for the third Threshold, and click "Save Thresholds".
Step Two: Create a Tailored Page
- Navigate to /node/add/tailoring. Give your page a title and select the variable(s) you wish to use for tailoring, then click Next.
- Define a message. For each message, you can create multiple variations, tailored to one or more possible values for your tailored variable. To follow our Zung example, you could create a single "Welcome" message that acknowledges the user's self-rated depression level, and suggests resources or actions based on this value.
Clone
git clone http://git.drupal.org/sandbox/jefferymac/2577873.git
Todo
- D8 Port
- Matrix view for easier Tailored Page message composition
- WYSIWYG for messages
Development of this module was supported in part by the National Cancer Institute of the National Institutes of Health under Award Number R42CA126453.
