Home › Forums › Calendar Products › Events Calendar PRO › Sidebar not visible after updating TEC to 4.2.5
- This topic has 22 replies, 3 voices, and was last updated 9 years, 7 months ago by
Cliff.
-
AuthorPosts
-
August 18, 2016 at 8:18 am #1153122
Hans-Gerd
ParticipantHi,
after updating TEC to 4.2.5 the sidebar is not visible on websites showing events. We are using the theme enfold.
When installing TEC 4.2.4 anything is ok.
When installing another theme (for example logger) also anything is ok.Best regards
Hans-GerdAugust 18, 2016 at 4:00 pm #1153429Cliff
MemberHi Hans-Gerd.
Thanks for the details.
We do not provide support for Enfold theme, but my best guess is that your site has some extra styling/coding implemented that’s now conflicting — or they need to update the Enfold theme for our latest version.
I’d suggest asking their support if there are any known conflicts with our latest version and if they can recreate the issue you’ve reported.
Please let me know how it turns out.
August 18, 2016 at 10:43 pm #1153494Hans-Gerd
ParticipantHi Cliff,
thanks for answer.
I will check this with the support of enfold and contact perhaps here again.Best regards
Hans-GerdAugust 19, 2016 at 6:17 am #1153553Cliff
MemberSounds good. I’ll leave this open for now, but please note that threads get Closed automatically after a couple weeks of inactivity. If it does get Closed, please open a new thread, adding your current problem description and also linking back to this thread.
Thank you!
August 19, 2016 at 6:51 am #1153563Hans-Gerd
ParticipantThis reply is private.
August 19, 2016 at 7:05 am #1153567Cliff
MemberThis reply is private.
August 19, 2016 at 8:36 am #1153627Hans-Gerd
ParticipantThis reply is private.
August 19, 2016 at 8:49 am #1153642Cliff
MemberThanks for the extra information. Let’s wait to see what their support says…
August 21, 2016 at 2:17 am #1154113Hans-Gerd
ParticipantHi Cliff,
sorry that I write here once more, but I think that I have found a possible cause:The reason for missing sidebar seem to be the file ..\the-events-calendar\src\Tribe\templates.php:
There is encoded from line 624 following in the version 4.2.5:} else { $file = apply_filters( 'tribe_events_template', $file, $template ); }When exchanging this file for the file from 4.2.4, everything is OK (also possibly it is to extinguish the abovementioned lines).
May be it has to do with the fact that the child theme path is wrong. But I tested some possibilities wihtout success.
See here:
andOur child path is: ../wp-content/themes/enfold-childtheme_1/
In this path the files ‘default-template.php’ and ‘single-event.php’ from enfold are stored.Thank you for your patience.
Best regards
Hans-GerdAugust 22, 2016 at 2:06 pm #1154547Cliff
MemberThanks for that info. I saw a code snippet at each of those links. Did using one of those make things work for you?
August 22, 2016 at 9:03 pm #1154664Hans-Gerd
ParticipantHi Cliff,
thanks for answer.I saw a code snippet at each of those links. Did using one of those make things work for you?
We have used the code snippet from the first link since the conversion on enfold as theme.
Without this snippet the sidebar will not be shown till TEC 4.2.4.
Since TEC 4.2.5 it doesn’t work any more. It is not executed ‘default-template.php’ and ‘single event.php’ any more from child theme (including code to show the sidebar), but from parent theme.If deleting the snippet from ..\the-events-calendar\src\Tribe\templates.php in TEC 4.2.5 as described above anything works fine and the sidebar is shown.
Unfortunately I didn’t received up to now an answer from kriesi.
Beste regards
Hans-Gerd-
This reply was modified 9 years, 8 months ago by
Hans-Gerd.
August 23, 2016 at 2:30 pm #1155040Cliff
MemberPlease let me know if I understand you correctly:
- you have had that code snippet in place all this time
- since updating to 4.2.5, the code snippet no longer works as it did before
- adding the line 624 edit you previously mentioned in version 4.2.5 makes your snippet work again
Is all this correct?
August 23, 2016 at 8:34 pm #1155180Hans-Gerd
ParticipantHi Cliff,
thanks for answer and your assistance.you have had that code snippet in place all this time
yes
here the snippet in functions.php:add_action('tribe_events_template', 'avia_events_tempalte_paths', 10, 2); function avia_events_tempalte_paths($file, $template) { $redirect = array('default-template.php' , 'single-event.php' , 'pro/map.php' ); if(in_array($template, $redirect)) { $file = AVIA_EVENT_PATH . "views/".$template; } return $file; }since updating to 4.2.5, the code snippet no longer works as it did before
yes – absolutely
adding the line 624 edit you previously mentioned in version 4.2.5 makes your snippet work again
No, this is not correct: Deleting the following code in version 4.2.5. In 4. 2. 4 this was not yet in ..\the-events-calendar\src\Tribe\templates.php
} else { $file = apply_filters( 'tribe_events_template', $file, $template ); }Best regards
Hans-GerdAugust 24, 2016 at 1:30 pm #1155532Cliff
MemberThank you, again.
I had one of our developers take a look and I believe the best course of action is to have the Enfold developers reach out to us if they would like us to modify anything in our code.
Thanks again for your effort on this topic.
August 24, 2016 at 8:53 pm #1155639Hans-Gerd
ParticipantHi Cliff,
thanks for your answer and your patience.Andy from enfold wrote: “Please deactivate all plugins one by one to check which one is causing this issue and let us know if this solves the problem.”
I have deactivated all plugins one by one up to the TEC-plugins and checked if one is causing the issue. Unfortunately this doesn’t solve the problem.
Post Link: http://www.kriesi.at/support/topic/sidebar-not-visible-after-updating-the-events-calendar-to-4-2-5/
Best regards
Hans-Gerd -
This reply was modified 9 years, 8 months ago by
-
AuthorPosts
- The topic ‘Sidebar not visible after updating TEC to 4.2.5’ is closed to new replies.
