Content Types - Generate machine name onblur

marco.robotangel - December 17, 2007 - 01:03
Project:Drupal
Version:6.x-dev
Component:node system
Category:task
Priority:normal
Assigned:Unassigned
Status:active (needs more info)
Description

Especially for newbies in sense of Drupal and/or web programming the field "machine name" is quite confusing. It was suggested ([1]) to just generate it onblur and not to confuse the user with that.

To keep flexible it should be possible to edit that name afterwards.

[1] http://groups.drupal.org/node/7043

#1

Bevan - January 7, 2008 - 04:55

tag for drupal newbie

#2

moshe weitzman - January 7, 2008 - 16:29
Status:active» active (needs more info)

huh? generate a machine name during a javascript event? i do not follow ... i think specifiying a machine name is very handy. note that CCK fields and Views both have this concept. Perhaps we just need to standardize on terminology.

#3

Bevan - January 8, 2008 - 08:26

The suggestion was to automatically (with JS) create a machine name ('Type') based on more-human name ('Name') and populate the 'Type' field with it (also with JS).

I agree that specifying a machine name is very handy. This would streamline that process for common names and users that don't know or care about the machine name.

#4

moshe weitzman - January 8, 2008 - 13:44

oh - good idea.

 
 

Drupal is a registered trademark of Dries Buytaert.