Posted: July 13, 2017 at 8:10 am
|
Hello! I have two EE4 sites. One site (“Online”) missed the WP 4.8 update, and is on WP 4.6, and is functioning as expected. That site is running EE 4.8.26.p. Looking at an event on Online, https://online.stlcc.edu/events/florissant-valley-new-student-registration-workshop-271/, you can see the sidebar is on the side and the footer is at the bottom. If you inspect the page, you’ll see that “footer” in inside the “page” div. Looking at an event on Orientation, https://orientation.stlcc.edu/events/fv-archer-orientation-1917-10am/, you can see the sidebar has dropped to the end of the page, and the footer is at the bottom, after the page, overlaying the backdrop. Inspector shows that the footer is now outside the “page” div. I have no idea why the sidebar has dropped. Please help me get Orientation to present the way that Online does. I recopied my child theme from Online to Orientation on my dev sites (not publicly accessible), and the behavior is the same. Thanks in advance! |
Hi there, You can update to the current version of Event Espresso 4 (currently 4.9.43.p) and that will fix the issue you’re seeing on the Orientation site. |
|
|
I updated online-dev to WP 4.8 & all EE plugins (EE, EE Calendar, Events Table View). This has created the issue this site, whereas it was not there before the updates. |
Hi there, orientation.stlcc.edu has version 4.9.28.p. The current version of Event Espresso is 4.9.43.p, so orientation.stlcc.edu is 15 version releases behind current. If you update orientation.stlcc.edu to 4.9.43.p it will fix your issue. |
|
|
I see that I wasn’t clear. I updated one of my dev sites which was working fine from EE 4.8.26.p to 4.9.43.p and the problem is now present on that site. |
Can you post a link to the page on the site that has 4.9.43.p? |
|
|
I can screenshare or you can see screenshots here, but again my dev sites are not publicly accessible. |
Screenshots will not help in this case. We’d need to see actual HTML. Can you use a tool like Firefox Web Developer bar and get the source of the page, then post the source to a gist or pastebin, then link here? |
|
|
Sure thing. Pastebin |
Hi Kris, Did you or a developer that worked on this site make some customizations to the ticket selector templates? The reason I ask is because on line 282 of your pastebin there’s a comment: Then a bit later on line 296 there’s an extra closing |
|
|
That was in I removed the div and refreshed – no change. See Pastebin |
If you temporarily remove the hook to load the custom ticket selector file (so that it does not load) does that correct the layout issue? |
|
|
How do I do that? |
I don’t know, because the later versions of Event Espresso 4 do not have or use a “ticket_selector_chart.template.php” file. So I’m assuming you have some custom code that’s overriding the default behavior. |
|
|
It is “custom”, via Tony Warwick’s advice. See his answer to question 1 in this forum post. |
Tony’s answer was regarding the Events table template plugin, which involves editing the espresso-events-table-template.template.php file. |
|
|
OK. I’ve removed the whole file and the issue is still there. |
Which file? Can you share the view source of the page with that change in effect? |
|
|
ticket_selector_chart.template, the only file that is currently in \wp-content\uploads\espresso\templates. Sure thing – Pastebin |
Hi Kris, If you look at the page, do you see how the entire ticket selector table is gone now? There’s quite likely some additional customizations loading either from a theme functions.php file or another plugin that’s telling Event Espresso to not load its ticket selector template. If you can find that customization and deactivate it, that will fix the layout issues. |
|
More than likely your code will be adding a filter function to this hook:
|
|
|
Hi Josh. Let’s try this again. I have an exact clone of online.stlcc.edu. On the clone, I have updated :
At this point, everything is fine. It is only when I update EE from 4.8.26.p to 4.9.44.p that the sidebar and footer go wonky. |
Have you checked your site to see if you have a callback function on the The reason you’re running into issues with the new version is because the new version has some changes to the ticket selector template. You have some code on your site that’s loading in an older version of the ticket selector template. Your custom code needs to be updated to be compatible with the current version. |
|
|
What does a callback function look like? |
It will look like this:
|
|
|
I see – thanks! I think with the updated release I don’t need the customization anymore, so I will delete the function. I appreciate your patience! |
The support post ‘Footer outside of 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.