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) »
  • Customising the Thank You Template
Pages: [1]

Author Topic: Customising the Thank You Template  (Read 648 times)

haydo

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
Customising the Thank You Template
April 15, 2010, 08:29:00 pm
Hi All,

We are in the process of customizing the Thank You page for CiviEvents to more of an invoice style sort of page.   We have also used Profiles for custom fields for the registration form. 

The problem we are having is displaying the user entered data from those custom fields in a different way than CiviCRM does by default.  All of that data gets put in a variable called $customPre and gets foreached through Smarty.  We require to split this data up and display certain bits in different parts of the page rather than it all in one place.  But the problem we face is there is no "key" for each piece of data so we are at a loss on how to achieve this. 

Does anybody have any ideas on how to achieve on this.

Thanks very much :)

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Customising the Thank You Template
April 15, 2010, 09:14:55 pm

can you not use the "label" of the foreach array as the key?

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

haydo

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
Re: Customising the Thank You Template
April 20, 2010, 08:00:04 pm
Thanks :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Customising the Thank You Template

This forum was archived on 2017-11-26.