Hello,

I have a cck field called "field_firstname" and I want to use it as the title.

Reading the documentation I am under the assumpation that this is possible because it states :

  $token = '[field_testnumber]';
  if (empty($token)) {
    return '[type]';
  }
  else {
    return $token;
  } 

However, when I use my field it does not work.

Sorry for the stupid question as Im sure it is!

I read the issue queue and this person asks the same thing : http://drupal.org/node/256150

However, the answer of fago is not clear to me. Sorry !

Regards, Tom

Comments

BenMirkhah’s picture

Token name for CCK fields need to specify the output option (raw or formatted), for example
you can access the CCK field_example using tokens [field_example-raw] or [field_example-formatted]

manish-31’s picture

Issue summary: View changes
Status: Active » Closed (outdated)