CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Trouble with custom tokens in 4.6.2?
Pages: [1]

Author Topic: Trouble with custom tokens in 4.6.2?  (Read 434 times)

John.K

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 5
  • CiviCRM version: 4.x
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5
Trouble with custom tokens in 4.6.2?
May 13, 2015, 08:43:32 am
Is anyone else having trouble with custom tokens not being replaced in 4.6.2? My custom tokens are currently just displaying as {contact.token_name} and not having the right value put it.

Example of creating a custom token:
http://wiki.civicrm.org/confluence/display/CRMDOC/Customized+%28and+Custom%29+Tokens
« Last Edit: May 14, 2015, 09:18:52 am by John.K »

John.K

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 5
  • CiviCRM version: 4.x
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5
Re: Trouble with custom tokens in 4.6.2?
May 14, 2015, 08:36:00 am
Assigning the custom token to an existing token 'group' doesn't seem to work on our setup, ie:
contact.best_name => 'Best name';

But assigning the custom token to a new group does:
custom.best_name => 'Best name';

Not sure what would be causing this...
« Last Edit: May 14, 2015, 09:18:44 am by John.K »

addseo1118

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: 3
  • MySQL version: 2.5
  • PHP version: 2.6
Re: Trouble with custom tokens in 4.6.2?
May 15, 2015, 02:35:26 am
thank for sharing.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Trouble with custom tokens in 4.6.2?

This forum was archived on 2017-11-26.