Closed (cannot reproduce)
Project:
Automatic Nodetitles
Version:
6.x-1.2
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2010 at 21:05 UTC
Updated:
10 Aug 2011 at 17:32 UTC
$token = '[field_testnumber]';
if (empty($token)) {
return '[type]';
}
else {
return $token;
}
The above code from the README.txt doesn't appear to be having any effect -- the node's title is resaved to "[field_testnumber]". I haven't been able to figure out what it should be in order to create patch for the docs.
Comments
Comment #1
SpaceEater commentedEverything seems to work as mentioned in README. This is my snippet, based on the example from README file.