OREGON STATE UNIVERSITY

Configure Automatic Title and Display Title Field

The third available option in an automatic title configuration is to create the title and keep the title field visible to your user so they can adjust it if necessary.  This option can be configured by doing the following - please note that a custom content type is used in this example:

Go to Admin menu > Content management > Content types > Edit content type of your choice.

Once on the Edit screen for your custom content type, click on the Automatic title generation fieldset to open it.

Check the Automatically generate the title if the title field is left empty option.

automatic title generation fieldset on cck edit panel with "automatically generate the title if the title field is left empty" option checked

The next thing to do is to add some token values, which are kind of like data placeholders.  A token value tells the system to find the specified data in the form you're on and to put that data where the token indicates.  Tokens are found in the Replacement patterns fieldset.  Click on this fieldset and do not be alarmed when when it opens, there is a lot of stuff in there that can be confusing to someone who is new to token use.

Scroll down the list until you find the name(s) of the field(s) you want to use.

very large list of token values in replacement patterns fieldset

Once you have located the fields, copy the token value, including the brackets, and paste it into the Pattern for this title field.  If you use multiple fields, put a space between each token.

first name and last name tokens added to "pattern for this title" field

Once you are finished adding the token values you want, click the Save content type button at the bottom of the page.  Please note that, when creating this content type, your users will have to be coached to not enter anything in this field.