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 CiviEvent (Moderator: Yashodha Chaku) »
  • Add contact Id to url on Confirmation Screen
Pages: [1]

Author Topic: Add contact Id to url on Confirmation Screen  (Read 657 times)

elohim

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.4
  • MySQL version: 5.0.96
  • PHP version: 5.2.17
Add contact Id to url on Confirmation Screen
January 26, 2015, 02:41:27 pm
I would like to create a custom url on the confirmation/thank you screen that ends with the contact ID. I have tried including {contact.contact_id} but the token is not replaced with the value. Is this supported? I have also tried adding it to the confirmation email with no avail.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Add contact Id to url on Confirmation Screen
January 26, 2015, 11:24:07 pm
How are you trying to do this? By changing the PHP file? In the Smarty template?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

elohim

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.4
  • MySQL version: 5.0.96
  • PHP version: 5.2.17
Re: Add contact Id to url on Confirmation Screen
February 04, 2015, 11:55:44 am
I was trying to use the code in the confirmation/thank you screen field inside an event.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Add contact Id to url on Confirmation Screen
February 04, 2015, 11:19:30 pm
Okay, so you are using a token. Try {contact.id}?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

elohim

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.4
  • MySQL version: 5.0.96
  • PHP version: 5.2.17
Re: Add contact Id to url on Confirmation Screen
February 16, 2015, 11:35:39 am
The token is what I tried but the output was just {contact.id} instead of the value.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Add contact Id to url on Confirmation Screen
February 17, 2015, 12:11:24 am
Seems like tokens are not available on that thank you mail then. What are you trying to achieve with the URL?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Add contact Id to url on Confirmation Screen

This forum was archived on 2017-11-26.