Hello
I am using content profile to permit admins of a site to store information about users. I have enabled node auto title to provide manditory titles for these content profile nodes.
However, I would like to cause the username of the user for whom the node is created, to appear in the node's title, so that views on those nodes will be more helpful, and possibly for other reasons.
Basically, I'm trying to do what this guy is trying to do:
http://drupal.org/node/868874#content
I'm willing to use PHP if necessary to make it happen, but I've no idea how to go about it.
Thanks for any advice.
Luke
There should be a token available to the module.
-Steve
On Tue, Feb 8, 2011 at 12:39 PM, Luke drupal@lists.tacticus.com wrote:
Hello
I am using content profile to permit admins of a site to store information about users. I have enabled node auto title to provide manditory titles for these content profile nodes.
However, I would like to cause the username of the user for whom the node is created, to appear in the node's title, so that views on those nodes will be more helpful, and possibly for other reasons.
Basically, I'm trying to do what this guy is trying to do:
http://drupal.org/node/868874#content
I'm willing to use PHP if necessary to make it happen, but I've no idea how to go about it.
Thanks for any advice.
Luke
[ Drupal support list | http://lists.drupal.org/ ]
On Wed, Feb 9, 2011 at 1:09 AM, Luke drupal@lists.tacticus.com wrote:
Hello
I am using content profile to permit admins of a site to store information about users. I have enabled node auto title to provide manditory titles for these content profile nodes.
However, I would like to cause the username of the user for whom the node is created, to appear in the node's title, so that views on those nodes will be more helpful, and possibly for other reasons.
Enable token module and in the content type settings, edit tab, in the field "pattern for the title" input [author-name].
On Wed, 9 Feb 2011, sivaji j.g wrote:
On Wed, Feb 9, 2011 at 1:09 AM, Luke drupal@lists.tacticus.com wrote: Hello
I am using content profile to permit admins of a site to store information about users. I have enabled node auto title to provide manditory titles for these content profile nodes. However, I would like to cause the username of the user for whom the node is created, to appear in the node's title, so that views on those nodes will be more helpful, and possibly for other reasons.Enable token module and in the content type settings, edit tab, in the field "pattern for the title" input [author-name].
Interesting. I thought that would get the name of the admin who created the profile node.
Thanks
Luke