Support

Home Forums Event Espresso Premium Registration Ticket Selector moves to top of page when using sidebars

Registration Ticket Selector moves to top of page when using sidebars

Posted: October 1, 2015 at 11:24 am

Viewing 3 reply threads


Brenden Corr

October 1, 2015 at 11:24 am

Hello –

Any advice again on how to move the ticket selector back to the bottom of the registration page? When I select the template two columns, right side bar it works, but it always moves the ticket selector to the top for some reason. I am on the most recent version of EE: 4.8.2. Not sure if there is a plug-in or such that is causing an issue? https://www.salesforcegolfclients.com/events/bedminster/. It stays at the bottom when I use the regular default template.

Thanks!


Lorenzo Orlando Caum

  • Support Staff

October 1, 2015 at 12:54 pm

Hi Brenden,

The default layout for the iced mocha theme uses a content + right side layout:

http://cl.ly/image/2X0M020w3t17

The page layout option on the event should then be set to default like this:

http://cl.ly/image/182N3A0k2t3y

This is the file that handles the layout when the conditions above are in use:

https://github.com/eventespresso/iced-mocha/blob/master/content/espresso/content-espresso_events.php#L28

On your site it would be:

/wp-content/themes/iced-mocha-master/content/espresso/content-espresso_events.php

If you move line 28 to just below line 31, then the ticket selector will appear last.

On the layout conditions above, that applies sitewide. If you have existing pages, then you could set them to a different layout by editing the page settings. Here is an example:

http://cl.ly/image/443P2M2O3m2b


Lorenzo


Brenden Corr

October 5, 2015 at 2:19 am

Thank you – this did help and is a nice feature upgrade (which I think happened after we developed some of our templates and site configs initially). I still have some strange code things happening. For example – when I try to set the template for individual event pages to the “one column, no side bar) – the feature image disappears and the ticket selector hops back to the top of the page. I might just leave some things how they are until some of our events have passed, but how can I clean up the code for going forward? Is there something recommended that I can do to clean up our files? Again, I think that there might be some weird hidden code somewhere that is making this happen.

Additionally – on another one of our sites: fusionstormgolfpartners.com the side bar is placed just under the featured image at the top. But for some reason on our site salesforcegolfpartners.com the side bar is placed right next to the featured image. Any ideas on where in the code that might be happening?

Thanks again for your support. Your team is awesome!


Lorenzo Orlando Caum

  • Support Staff

October 5, 2015 at 1:02 pm

Hi,

The content + sidebar is the default template and that one works as there are currently templates setup for that option.

https://github.com/eventespresso/iced-mocha/blob/master/single-espresso_events.php

The single-espresso_events.php file would needed to be updated so that it uses a page with no sidebar. Then that layout would work as expected.

However, if you were to switch to a different layout, then the new one would no longer work as expected.


Lorenzo

Viewing 3 reply threads

The support post ‘Registration Ticket Selector moves to top of page when using sidebars’ 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.

Event Espresso