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) »
  • Reloading thank you page?
Pages: [1]

Author Topic: Reloading thank you page?  (Read 915 times)

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Reloading thank you page?
November 03, 2009, 02:14:59 pm
Is there any way to enable reloading the registration thank you page when in preview mode?  It's indescribably frustrating to have to go through the entire registration process each time you want to test a theming tweak.

Thanks!

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: Reloading thank you page?
November 03, 2009, 07:40:08 pm

a few tips:

1. use pay later mode, much faster to debug than other modes

2. CRM/Event/Form/Registration/ThankYou.php

comment out line 164

        $this->controller->reset( );

that will keep stuff in session to make things easier

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

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Reloading thank you page?
November 04, 2009, 08:10:29 am
Quote from: Donald Lobo on November 03, 2009, 07:40:08 pm
2. CRM/Event/Form/Registration/ThankYou.php

comment out line 164

        $this->controller->reset( );

Ah, that's what I was looking for.  Thank you!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Reloading thank you page?

This forum was archived on 2017-11-26.