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) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Can't seem to insert contact tokens into receipt subjects
Pages: [1]

Author Topic: Can't seem to insert contact tokens into receipt subjects  (Read 324 times)

michaels23

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 1
Can't seem to insert contact tokens into receipt subjects
November 15, 2014, 10:57:44 am
I can't seem to insert contact tokens into receipt subjects. It always results in a Smarty error (pasted at bottom). I was able to re-create the error at http://d45.demo.civicrm.org/civicrm/contribute/transact?reset=1&id=1&action=preview by inserting {contact.display_name} to http://d45.demo.civicrm.org/civicrm/admin/messageTemplates/add?action=update&id=47&reset=1


User error: Smarty error: [in string:{strip}[TEST]{contact.display_name}{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} {/strip} line 1]: syntax error: unrecognized tag: contact.display_name (Smarty_Compiler.class.php, line 446) in Smarty->trigger_error() (line 1094 of /srv/buildkit/build/d45/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).
User error: Smarty error: [in string:{strip}[TEST]{contact.display_name}{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} {/strip} line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590) in Smarty->trigger_error() (line 1094 of /srv/buildkit/build/d45/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).

sushant

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 8
  • CiviCRM version: v3.2.x,v3.3.x v4.0.x, v4.x,trunk
  • CMS version: Drupal 6/7 ,joomla 1.5,1.6
  • MySQL version: 5.1.51
  • PHP version: 5.3.3
Re: Can't seem to insert contact tokens into receipt subjects
November 15, 2014, 09:53:46 pm
If you are able to replicate in demo please create issue on https://issues.civicrm.org/, if possible provide patch.

S.
CiviCRM Priority Support
http://support.civigardens.com/
http://osseed.com

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Can't seem to insert contact tokens into receipt subjects

This forum was archived on 2017-11-26.