Safeword adds a new Field type to Drupal 7: the "Name/Machine Name" combination. This field type can be useful for storing public-facint text and an internal "short" name, similar to the way that Content Type labels and machine names are used in the Drupal administration UI.
Safeword also uses the new 'Machine Name' FormAPI element in Drupal 7 to automatically suggest a machine name based on the text entered into the human-readable field.
Why bother using it? Using Token, Pathauto, and Auto NodeTitles, Safeword can be used as a replacement for Drupal's standard "Title" field, allowing content editors to create a visitor-friendly title with a customizable URL-safe "short" version that's used to build path aliases. The short URL-friendly machine name can also be used as a Views argument. Finally, it makes your Content Type administration page just a tiny bit cooler.
Can use the node Title field as the source of the machine name.
Can provide it's own text field as the source of the machine name.
Machine name field is shown next to the source field, clicking 'Edit' makes the machine name editable in it's own field.
Option to show a live preview of the full path to the node while the machine name part of it is being edited.
Option to require machine names to be unique per content type.
Option to convert accented characters like øéåî to Roman letter equivalents, uses integration with the Transliteration module.
Can remove HTML intelligently without leaving 'p', 'div', etc. in the machine name.
Machine Name module adds a field type into which the user enters a machine name, it's main function is to validate that the input conforms to the machine name format.
Safeword module is different to Machine Name module as it provides a standard text field and when text is input displays a matching machine name field which automatically converts the text into a machine name formatted version, which can also be hand edited.
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Content, Content Construction Kit (CCK), Fields, Path Management
- Reported installs: 178 sites currently report using this module. View usage statistics.
- Downloads: 1,361
- Last modified: February 24, 2014