Support

Home Forums Event Espresso Premium Problem with ticket selector after update from 4.9.0

Problem with ticket selector after update from 4.9.0

Posted: January 31, 2017 at 9:52 am

Viewing 9 reply threads


adasch

January 31, 2017 at 9:52 am

Hi there,
I updated EE from 4.9.0 to the latest 4.9.28.p. Luckily I did this on a test server first.

After the update the “register now” button is completely gone.
The “show details” button is still visible for events that can’t be registered for anymore.

So I was wondering why this is.
I did a lot of CSS changes. I wanted to get rid of the whole .tkt-slctr-tbl-wrap-dv DIV so I set it to display:none.

NOW – in some update in the past you must have moved the “register now” button within that very DIV. But you did not move the “show details” btn.

You can see what I mean in this screenshot:
https://www.dropbox.com/s/yi4oftcqq1ua9jd/ee.png?dl=0

So how can I fix that? I still want to hide the class .tkt-slctr-tbl-wrap-dv but of course I DO want to see the register button.

Thanks for any help!

bye
Andy


Josh

  • Support Staff

January 31, 2017 at 10:02 am

Hi Andy,

You’ll need to remove the style rule that hides the .tkt-slctr-tbl-wrap-dv div. As you’ve found, the registration button is within that div.

May I ask what is it exactly that you’re trying to hide?


adasch

January 31, 2017 at 11:37 am

hehe, well I’m trying to hide exactly this DIV – except the register button.

You can see it here:
https://www.akademie-psychotherapie.de/systemische-therapie-ausbildung/#anmeldung

With Web-Dev-Tools you can remove the style rule and see what it looks like then.
Everything is fine on this page but on my test server with the updated EE plugin the register button is gone!


Josh

  • Support Staff

January 31, 2017 at 11:53 am

You shouldn’t be using CSS for this. Instead, you can go to Event Espresso > Events > Templates and look for “Event List Pages” options, where you set “Display Ticket Selector” to No.


adasch

January 31, 2017 at 12:07 pm

Ok, thanks!
But if I do that the button from the second event (SYSTG 1709 SN) changes from “register now” to “show details”.

Right now the first event shows correctly “show details” as the event already startet January 19th. The secon event will start in October so it has to say “regiser now”.
When I select “Display Ticket Selector” to NO the button changes.

Do you have an idea why and how this can be fixed?

Thanks again! Great support here :-))


Josh

  • Support Staff

January 31, 2017 at 12:27 pm

The reason why is because when the ticket selector isn’t actually in the HTML, they are no longer submitting a form with their ticket selectors. Basically what you were doing before was hiding the inputs with CSS, and they were submitting a form.

If you want to keep that behavior, then you can use CSS, but your CSS needs to be specific or you’ll continue running into issues where you intend to hide one thing, but end up hiding other things. Here’s an example of some more specific CSS:

.espresso-event-list-wrapper-dv .tkt-slctr-tbl-wrap-dv { 
display:none;
}


adasch

January 31, 2017 at 1:04 pm

Hey Josh,
this does not work with the latest version of EE. That’s exactly where I ran into problems now because somewhere between v4.9.0 und v4.9.28.p you guys moved the “register now” button into the ticket selector class! Look at my screenshot in the first posting.

In v4.9.0 I could hide the class and the button was still visible.
In v4.9.28.p the button is gone, too!


Josh

  • Support Staff

January 31, 2017 at 1:17 pm

Sorry, the above should be changed to be:

.espresso-event-list-wrapper-dv .tkt-slctr-tbl { 
display:none;
}

This way you won’t be hiding any buttons, just the table, and only on the event lists.


adasch

January 31, 2017 at 2:57 pm

Hi Josh,
thanks – this works. Well…kind of 🙂

https://www.dropbox.com/s/ltyi3w4mtg3l4fn/ee2.png?dl=0

– the button is on the right side instead of left
– I got a little scroll bar next to the button

I think I can handle this with CSS tweaks.
But just because I’m curious: why did you move the button into the ticket selector class? And why didn’t you move the “details” button as well?

Thanks and have a good one!
Andy


Josh

  • Support Staff

February 1, 2017 at 8:50 am

Hi Andy,

I had nothing to do with moving those things, but I can tell you that there has been a number of bugs with the ticket selector markup as well as some new features added there and in order to make everything work some things were moved around.

Viewing 9 reply threads

The support post ‘Problem with ticket selector after update from 4.9.0’ 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