Sorry in advance if this is a simple solution, as I can't work out what is going on.

Drupal 6.12
Token 6.x 1.12
CCK 6.x-2.4

I have a CCK form, that I would like one field (and the title) to use a token to insert the user's name when they create it.

No replacement tokens pop up for using, so I tried: [user-name], %username, [user] in the cck field (and the auto node title replacement area) but can't get it to work, when a user creates a form.

Am I doing something wrong? Expecting something that is not there?

I can use Tokens with Pathauto, and with Rules on this site.

T.I.A.

Comments

Anonymous’s picture

Still can't fathom this.

Now using
Drupal 6.15
Token 6.x-1.12
CCK 6.x-2.6

Am wondering if you can have a cck field '(Name)' and a standard content type label '(My advice)' and somehow pre-save merge the two of these so that the content title becomes 'My advice (Name)' ?

dave reid’s picture

Project: Token » Content Construction Kit (CCK)
Version: 6.x-1.12 » 6.x-2.6
Component: User interface » Token Integration

CCK tokens are provided by cck.module, not token.module. Transferring to the CCK issue queue.