Support

Home Forums Event Espresso Premium Display Ticket Selector

Display Ticket Selector

Posted: August 30, 2017 at 3:57 am

Viewing 26 reply threads


Claire

August 30, 2017 at 3:57 am

Hi,
Im having trouble with the Display Ticket Selector showing on the Event List Pages. I can get the title, the featured image and an excerpt to show but not the Ticket Selector.

It is turned on and I am using Divi Theme, disabling this theme it does show. Any fixes that you know of?
Thanks


Tony

  • Support Staff

August 30, 2017 at 4:42 am

Hi there,

Divi is truncating the post content, so EE is adding the ticket selector and then Divi is truncating the content (which then removes the ticket selector).

The easiest fix is to change the Divi settings.

Dashboard -> Divi -> Theme options -> Use excerpts when defined

Set that to true and save.

That should then display the ticket selector on the event lists, note however that’s a global change for Divi, if you posts have excerpts set Divi will display them. So you will need to test that other content on your site still displays correctly.

Another option is to modify the templates used by Divi, for that you’ll need to create a child template for Divi. I can provide more details if the above does not work for you.


Claire

August 30, 2017 at 4:45 am

thanks Tony! that works perfect!!! I should have thought of that one! its been a long day!


Tony

  • Support Staff

August 30, 2017 at 4:57 am

You’re most welcome πŸ™‚

I’m glad it works for you, any further problems just let us know.


Claire

August 31, 2017 at 3:19 am

Having another issue, the time selectors wont show with divi, if I swap themes it comes back. The date selector shows just not the time. Any ideas?


Tony

  • Support Staff

August 31, 2017 at 3:22 am

Sorry, I’m not sure what you mean by time selectors.

Can you add a screenshot showing the problem?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


Claire

August 31, 2017 at 3:28 am

its adding the time of the event

without divi the time selector shows
http://imgur.com/kRvhj0n

with it, it disappears – you can manually change the time within am, but cant switch to pm
http://imgur.com/JfMaTOF

hope that makes sense


Tony

  • Support Staff

August 31, 2017 at 4:47 am

Hmm, ok. What version of Divi are you running?

That’s not happening for me and it means that Divi is adding its own version of the date pickers to the EE event editor and replacing ours.


Claire

August 31, 2017 at 4:53 am

Im using Version: 3.0.71 with a child theme, deactivated that just uncase, but its still not working


Tony

  • Support Staff

August 31, 2017 at 5:12 am

Can you send me a copy so I can take a look?

You’ll need to host the file somewhere (Dropbox for example) and provide a link we can use to download it.


Claire

August 31, 2017 at 5:16 am

Sure thing, where do you want me to send it?


Tony

  • Support Staff

August 31, 2017 at 5:22 am

You can post it here or send to support[at]eventespresso.com


Claire

August 31, 2017 at 5:24 am

Just emailed the link to you. Thanks so much


Tony

  • Support Staff

August 31, 2017 at 5:48 am

I don’t have any issue with that version either, it could be a theme setting that’s enabled on your site but not mine.

If you open up chrome dev tools on the event editor and look within console, do you see any errors there?


Claire

August 31, 2017 at 6:06 am

No errors that I can see


Claire

August 31, 2017 at 6:23 am

I forgot to mention the decaf version I was able to select the time, all the same settings


Josh

  • Support Staff

August 31, 2017 at 7:48 am

Hi Claire,

Do you happen to have the Divi Booster plugin activated? If so does the time selector controls appear if that plugin is deactivated?


Claire

August 31, 2017 at 2:30 pm

yes I do, and yes it does appear πŸ™‚


Tony

  • Support Staff

August 31, 2017 at 3:19 pm

Divi Booster is listed on our known plugin conflict page with steps on how to disable it for custom post types (which may fix your problem):

https://eventespresso.com/wiki/known-third-party-plugin-theme-conflicts/#divi-booster

If you can send over the latest version of Divi Booster I’ll take a look at that plugin on my test site.


Claire

August 31, 2017 at 3:24 pm

legend, just emailed it, and will take a look at changing that


Claire

August 31, 2017 at 3:34 pm

Turned off using Divi builder (within booster) with custom post types and its all good.


Tony

  • Support Staff

September 1, 2017 at 5:45 am

EE doesn’t officially support page builds, so Divi Builder may not work within EE anyway.

However you can keep Divi builder on custom posts types and just remove it from EE if that helps.

A function like this:

https://gist.github.com/Pebblo/f766110061dadc86f8a4e269c2a162fa

Within a Custom Functions Plugin on your site will just remove Divi from EE and allow it to be used in other custom post types.


Claire

September 1, 2017 at 6:15 am

awesome! Cheers for that.
I have a couple more questions and Im done I promise!!!

Have searched the forums and the php code is for EE3 or doesnt work.
1. I have the EE4 Events Table View Template and am wanting to change the name of the title events on the table

2. Im wanting to change “EVENT NAME” is currently sold out.
Please check back again later, as spots may become available. and then the SOLD OUT where the ticket selector would be to other text. Is there anything tucked away for that???

Also have to say, so far, fantastic events plugin!!!! I trialed a few others and they didn’t give me what ee4 does, its going to streamline things and make life easier!!


Josh

  • Support Staff

September 1, 2017 at 10:12 am

Hi Claire,

Are you looking to change the word “Event” there in the table’s main heading? Would it also work to change the word “Event” everywhere else it might appear on the website? If so then one way to change the text is with a text translation function like the one in the documentation:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function

With the sold out text strings, the best way to change those is by means of the filter hooks
FHEE__EE_Ticket_Selector__display_ticket_selector_submit__sold_out_msg
and
FHEE__ticket_selector_chart_template__ticket_sold_out_msg

May I ask what are the text going to be changed to? I can share a code example that shows how to put those filter hooks to use that will include the new strings.


Claire

September 1, 2017 at 4:08 pm

Hey Josh, yes looking to change the word Event in the tables main heading πŸ™‚

Event changed to Courses everywhere would be fantastic, and I want to change Sold Out to Fully Booked


Claire

September 1, 2017 at 5:22 pm

Have the event changed to courses everywhere sorted thanks πŸ™‚

Just number 2 now


Tony

  • Support Staff

September 4, 2017 at 5:35 am

You Can use the 2 filters Josh provided to change the Sold out text, here is a couple of examples.

Filters: https://gist.github.com/Pebblo/f2298d46a1d4aac5da7abea355699a1c

Translations: https://gist.github.com/Pebblo/8201e23daaaf479e70ad7472e9477f8e

Note you’ll need to change the text used there to Fully Booked as it currently returns Sold out.

Viewing 26 reply threads

The support post ‘Display Ticket Selector’ 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