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) »
  • Customizing the registration "Thank you" screen.
Pages: [1]

Author Topic: Customizing the registration "Thank you" screen.  (Read 2790 times)

Kruk

  • Guest
Customizing the registration "Thank you" screen.
August 26, 2009, 02:07:21 am
When the "thank you for registration" screen is displayed, it contains the custom text I've inputed, then something like: "Your registration has been processed successfully. Please print this page for your records.
A registration confirmation email has also been sent to"
And then Event information, and other data.
Is there a possibility to remove all information that are below "A registration confirmation email has also been sent to"? And how to do this (i suppose i should modify some PHP files?)
And the second thing is: In the first step of registration there is button "Continue>>" How to change it's name to "Dalej"?

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Customizing the registration "Thank you" screen.
August 26, 2009, 02:25:05 am
Kruk :
Quote
Is there a possibility to remove all information that are below "A registration confirmation email has also been sent to"? And how to do this (i suppose i should modify some PHP files?)
You should remove all the code below approx line 42 in templates/CRM/Event/Form/Registration/ThankYou.tpl.

I strongly recommend you use custom template to achieve this. For more details, refer : http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in,+Profile,+Contribution+and+Event+Registration+Screens

HTH
-Yashodha
« Last Edit: August 26, 2009, 02:37:21 am by Yashodha Chaku »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Customizing the registration "Thank you" screen.
August 26, 2009, 02:30:46 am
Hey,

Actually, please do not modify templates/CRM/Event/Form/Registration/ThankYou.tpl directly - make it a custom template instead. Create a directory named for example: custom_templates/CRM/Event/Form/Registration, than copy ThankYou.tpl there and make necessary modifications there. After that, you need to enable custom templates in configuration: http://wiki.civicrm.org/confluence/display/CRMDOC/Directories

For second problem - again, please DO NOT modify CRM/Event/Form/Registration/Confirm.php - this should be done via translation mechanism. Please download language bundle, put in in proper place and enable Polish as the language - you'll get most of translations (Dalej among them) out of the box.

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

Kruk

  • Guest
Re: Customizing the registration "Thank you" screen.
August 27, 2009, 04:05:38 am
Thank you very much, it helped a lot.

Just one more question. How to remove "Email adress" field that is on the top of form? I don't want it there.

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Customizing the registration "Thank you" screen.
August 27, 2009, 04:24:26 am
Hey,

If you're talking about Email address field or registration screen, I don't think it's possible at the moment. There were some conversations about providing this kind of functionality around 2.1, but I don't think it was implemented.

Pozdrowienia, :-)
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

Kruk

  • Guest
Re: Customizing the registration "Thank you" screen.
August 27, 2009, 04:33:16 am
Can I put it in other order? Maybe after the Name and Surname Fields, or at the end of the form?

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Customizing the registration "Thank you" screen.
August 27, 2009, 05:23:24 am
Hey,

Take a look at templates/CRM/Event/Form/Registration/Register.tpl, piece of code below displays email. Try to move it around using custom template.

Code: [Select]
{assign var=n value=email-$bltID}
<table class="form-layout-compressed">
    <tr>
        <td class="label nowrap">{$form.$n.label}</td><td>{$form.$n.html}</td>
    </tr>
</table>

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Customizing the registration "Thank you" screen.

This forum was archived on 2017-11-26.