Sunday, 2 December 2012

Drupal - How to Avoid Title Field in CCK Forms

Install Auto Node Title Module in Drupal to Avoid Adding Title Field Value.

  1. By Installing the Auto Node Title Module, an “Automatic title generation” option will appear at the top of every content type’s main configuration page.
  2. Set the “Automatic title generation”option to Automatically generate the title and hide the title field.
  3. Expand the “Replacement patterns” fieldset to see what options we can set for the Title. 
  4. After we’ve added custom fields to the content type, we can also come back to the "Automatic title generation" setting and use the CCK text tokens options, which allow us to choose any other fields from the content type.
  Auto Node Title Module will work like below.
  1. It will allow us to generate a Title based on 
    1. Pre-determined settings (or)
    2. On the content of another field of the form.
     [author-name-raw] [mm]-[dd]-[yy] (Author’s name + the submission date).

No comments:

Post a Comment

Thank you so much for providing your valuable feedback. I will will look into them and update my skills & technologies accordingly.