Support

Home Forums Event Espresso Premium Registration form not showing on event page

Registration form not showing on event page

Posted: August 4, 2021 at 9:59 am


bhhsflpg

August 4, 2021 at 9:59 am

Just getting started on configuring our install. I have created an initial set of events for our training classes and they’re showing on the calendar as I’d expect them to. However, when clicking through to the event pages I’ve noticed that the event details show but there’s no registration form appearing.

After reading through some other related posts, I saw a reference to making sure that the ticket selector display should be set to Yes. Double-checked my settings, and they are.

Any other ideas as to what’s causing this?

Sample link: https://blog.mycabcorner.com/events/bhu-class1-08-10-21/


bhhsflpg

August 4, 2021 at 10:03 am

Sidenote – doesn’t look like my venue information is showing either, including the map. Display venue details under “Templates” is set to Yes.

Screenshots:
https://www.dropbox.com/s/ylwqzbnhyfyns8d/Screen%20Shot%202021-08-04%20at%2012.02.03%20PM.png?dl=0
https://www.dropbox.com/s/0c4vfawuh4wo9z4/Screen%20Shot%202021-08-04%20at%2012.01.51%20PM.png?dl=0
https://www.dropbox.com/s/s0nte8z1ic3zvbp/Screen%20Shot%202021-08-04%20at%2012.01.15%20PM.png?dl=0


Hazel Apuhin

August 4, 2021 at 6:25 pm

Hi

Thank you for your detailed description. Upon checking on the link you gave, the dev console errors (screenshot) tell me that you have an invalid Google Maps API key. Make sure you have a valid API key and also to check your Google Map settings in your account and website.

Kindly check this helpful article on how to get a valid Google Maps API key:
https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key-map-error


bhhsflpg

August 4, 2021 at 7:32 pm

This reply has been marked as private.


Hazel Apuhin

August 5, 2021 at 6:48 pm

Hi,

Thanks for your reply. In this case let’s try several troubleshooting steps to isolate the issue:

1. Please double check your Google Maps API key if it is assigned to https://mycabcorner.com or https://blog.mycabcorner.com/

Note: You will need to go to your google maps account and check it there. Please make sure that the Google API key should point to your subdomain https://blog.mycabcorner.com/

If it is correctly set-up there then proceed to the next step.

2. Set “Activate Google Maps” to “No” and then go back to your event page to refresh it.

Event Espresso -> Venues -> “Google Maps” tab -> Activate Google Maps “No”

Is your registration form showing now? If not, continue on to the next troubleshooting step.

3. Please find the plugin “Mapbox.com” plugin and deactivate it. Then go back to your Events page again to refresh it.

Did any of these work? Please follow up here so we can take another look at the issue.

Thanks!
Hazel


bhhsflpg

August 6, 2021 at 7:42 am

Hi Hazel,

Here’s a screenshot showing the current settings for allowed websites on the API Key. I believe this should cover it? https://www.dropbox.com/s/b3tgt5wi4glwhdk/Screen%20Shot%202021-08-06%20at%209.38.29%20AM.png?dl=0

After confirming those settings, there was no change on the sample registration page: https://blog.mycabcorner.com/events/bhu-class1-08-10-21/

I turned the Google Maps setting to “off” as you recommended, still no change.

There is no Mapbox plugin installed.


Tony

  • Support Staff

August 6, 2021 at 10:09 am

Hi there,

I looked into this when checking out your other thread HERE.

This issue here is from a setting within your site’s theme, Divi. It has an option to use the first image within the post as the feature image in:

Divi -> General -> Grab the first post image.

The way it does that is to basically run through all of the processing for the_content in the background before the page is output and pulls the first image it finds. The problem with that is Event Espresso hooks into the_content to inject the event details into the page and it will only do that once per page load to prevent multiple instances of the details being injected. As Divi is doing the above before the page is output, when the_content is run for that output EE skips it thinking it’s a duplicate.

One option to fix this (and leave that option enabled) is to use a filter to disable that Grab the first post image but only on EE events, like this:

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

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

(Note I also sent this over via email but sending here for any future readers)


bhhsflpg

August 18, 2021 at 10:03 am

Hi Tony!

Thanks for all your help. Everything seems to be mostly working now except:

Featured images aren’t showing on event detail pages (Sample: https://blog.mycabcorner.com/events/highlands-only-onboarding-08-31-21/)

I can’t seem to get rid of the sidebar, even though I’ve switched the page template for the sample above over to “Blank Page”

If there’s not a way for me to get rid of the sidebar, is there a “list only” shortcode that would display upcoming events without including the ticket selector and other misc details? Would want it to be class name, venue, date & time only that links to event details. I tried using the event list shortcode found in Help, but it displays too much to be feasible in a sidebar.

Saw some references to editing php files, but that’s not something I feel comfortable doing.

Thanks,
Stephanie


Tony

  • Support Staff

August 19, 2021 at 9:45 am

You can hide the sidebar and set the content area to use the full width using some CSS, like this:

.single-espresso_events .container:before, 
.single-espresso_events #sidebar {
display: none;
}

.single-espresso_events #left-area {
width: 100%;
}

Add that to Appearance -> Customize -> Additional CSS and it should hide the sidebar on EE events.

If there’s not a way for me to get rid of the sidebar, is there a “list only” shortcode that would display upcoming events without including the ticket selector and other misc details?

The [ESPRESSO_EVENTS] shortcode can be used to list your events and we have some controls for what is shown on EE event lists (include the one output by that shortcode) in Event Espresso -> Events -> Templates -> Event List Pages so you could set that to no display the ticket selector, although it changes the default event list output as well.

Is that what you are looking for?

I’m checking into the feature image now and will update shortly.


Tony

  • Support Staff

August 19, 2021 at 2:40 pm

Hi Stephanie,

Within your Divi options, do you have ‘Place Thumbs on Posts’ set to be disabled?

Its in Divi -> Theme Options -> Layout -> Single Post Layout.

If so, that is why you are Feature Image is not showing on the event (your theme controls most of the output for the events).


bhhsflpg

August 19, 2021 at 3:09 pm

Hi Tony,

It’s already set to disabled on posts and pages.

Screenshots:
https://www.dropbox.com/s/elnj7hiv6uwo9ez/Screen%20Shot%202021-08-19%20at%204.53.34%20PM.png?dl=0
https://www.dropbox.com/s/r73zrlvro3ts1k1/Screen%20Shot%202021-08-19%20at%204.53.27%20PM.png?dl=0


Tony

  • Support Staff

August 19, 2021 at 3:14 pm

Yeah, that’s why they aren’t showing on the EE events (which are essentially just ‘posts’)

‘Place Thumbs on Posts’ needs to be set to Enabled.


bhhsflpg

August 20, 2021 at 8:00 am

Hi Tony,

Thanks, got it! Read that first email wrong. My apologies.


Tony

  • Support Staff

August 23, 2021 at 3:49 am

No problem 🙂 I’m glad you got it working.

Any further issues/questions just let us know.

The support post ‘Registration form not showing on event 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.

Event Espresso