content profile, node auto title, and usernames
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/ ]
-- Steve Kessler Owner and Lead Consultant Denver DataMan, LLC 303-587-4428 Make CRM Work For Your Business - Seminar on 2/11<http://www.denverdataman.com/ddm_events/2011-02-11t190000/green-thumb-friday-making-crm-work-your-business-0>
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].
-- Sivaji +91 9941 571 690
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
participants (3)
-
Luke -
sivaji j.g -
Steve Kessler