Support

Home Forums Multiple Event Registration Add-on Template Structure Changing on "Attention" Page

Template Structure Changing on "Attention" Page

Posted: August 22, 2012 at 8:35 pm


Bill Kaczor

August 22, 2012 at 8:35 pm

I’m using Multi Event Registration, and all is well unless the user hits the “Finish Registration” button while the number of people registered for a course is at zero. On the next page displaying the “Attention: you need to add registrants” warning, something is changing the order of a few of my theme template divs.

Here’s what a page structure SHOULD look like:
http://ak.aponeurotica.com/happy-template.jpg

But this is what is getting displayed on the “Attention” page:
http://ak.aponeurotica.com/sad-template.jpg

Any ideas?
I’m using a custom child theme with Thematic as the parent.


Josh

  • Support Staff

August 22, 2012 at 9:28 pm

Hi Bill,

I’m seeing the same thing on the twentytwelve theme. I’ll create a ticket so the dev team can look into this.


Bill Kaczor

August 28, 2012 at 10:04 pm

Hi Josh –
Any update on this? Appreciate any help!


Chris Reynolds

  • Support Staff

August 29, 2012 at 10:26 am

@bill, what version of Event Espresso are you using?


Bill Kaczor

August 29, 2012 at 2:29 pm

Version 3.1.26.P – purchased with a Business License.


Chris Reynolds

  • Support Staff

August 29, 2012 at 5:42 pm

I will take a look.


Bill Kaczor

September 13, 2012 at 3:41 pm

Just bumping this topic – any progress?


Chris Reynolds

  • Support Staff

September 17, 2012 at 4:05 pm

Confirmed. Looking at the files now. Will try to get this into .27 before tomorrow (when I’m hoping we will be releasing it…)


Chris Reynolds

  • Support Staff

September 17, 2012 at 4:40 pm

I found the issue. If you want to fix it now while you’re waiting for the updated version, open /includes/functions/cart.php. Around line 560 you should see this:

                } ?> <a href="?page_id=<?php echo $org_options['event_page_id']; ? rel="nofollow">&regevent_action=show_shopping_cart" class="btn_event_form_submit inline-link">
            <?php _e('Edit Cart', 'event_espresso'); ?>
            </a>
        </div>
    </div>

That’s closing an if statement where those divs are originally opened. Hence, if the conditional is not met, the closing divs display without the opening divs, breaking your layout. Replace that with this:

https://gist.github.com/3740278

This moves the two closing divs inside the conditional statement and the Edit Cart link outside those divs.

  • This reply was modified 8 years, 7 months ago by  Chris Reynolds. Reason: fixes link
  • This reply was modified 8 years, 7 months ago by  Chris Reynolds.
  • This reply was modified 8 years, 7 months ago by  Chris Reynolds. Reason: using a gist instead
  • This reply was modified 8 years, 7 months ago by  Chris Reynolds.
  • This reply was modified 8 years, 7 months ago by  Chris Reynolds. Reason: gist?
  • This reply was modified 8 years, 7 months ago by  Chris Reynolds. Reason: gist now?
  • This reply was modified 8 years, 7 months ago by  Chris Reynolds.
  • This reply was modified 8 years, 7 months ago by  Chris Reynolds.


Bill Kaczor

September 22, 2012 at 4:05 pm

Excellent! v3.1.27.P fixed it. Thanks!

The support post ‘Template Structure Changing on "Attention" Page’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Status: closed

Updated by  Bill Kaczor 8 years, 6 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!