 readme  id readmetxt v 1724 20090715 195914 fago exp automatic nodetitle module by wolfgang ziegler nuppla zitesnet description this is a small and efficent module that allows hiding of the content title field in the form to prevent empty content title fields it sets the title to the content type name or to an configurable string if the token module is installled it s possible to use various content data for the autogenerated title eg use the text of a cck field advanced users can also provide some php code that is used for automatically generating an appropriate title installation optional download and install the token module copy the module s directory to your modules directory and activate the module for each content type you want to have an automatic title click on the edit link for it on admin content types at the top of the content type edit form there is a automatic title generation box allowing you to configure the details for the current content type advanced use php code you can access node from your php code look at this simple example which just adds the node s author as title advanced use combining tokens and php you can combine php evalution with the token module because tokens are replaced first however be aware to don t use this with any textual values provided by users as this would open a security hole if you are in doubt don t combine tokens with php evaluation here is an example so if the text of the cck number fieldtestnumber isn t empty it will be used as title otherwise the node type will be used updating nodetitles from existing nodes if you set the nodetitle to be auto generated for some content type existing nodes are not affected you can update existing nodes by going to admin content node then filter for your content type mark some nodes and choose the update option update automatic nodetitles  